[RFC v3 1/3] eal/lcore: add topology based functions

Stephen Hemminger stephen at networkplumber.org
Wed Oct 30 16:44:37 CET 2024


On Wed, 30 Oct 2024 11:11:31 +0530
Vipin Varghese <vipin.varghese at amd.com> wrote:

> +	if (topo_cnfg.io) {
> +		free(topo_cnfg.io);
> +		topo_cnfg.io = NULL;
> +	}

No need to check for NULL before calling free.


More information about the dev mailing list