[dpdk-dev] [PATCH] mem: fix resource leak
Thomas Monjalon
thomas at monjalon.net
Mon Oct 22 22:34:12 CEST 2018
22/10/2018 14:57, Anatoly Burakov:
> Segment preallocation code allocates an array of structures on the
> heap but does not free the memory afterwards. Fix it by freeing it
> at the end of the function, and changing control flow to always go
> through that code path.
>
> Fixes: 1dd342d0fdc4 ("mem: improve segment list preallocation")
>
> Coverity ID: 323524
>
> Cc: stable at dpdk.org
The right order for these tags is:
Coverity issue: 323524
Fixes: 1dd342d0fdc4 ("mem: improve segment list preallocation")
Cc: stable at dpdk.org
> Signed-off-by: Anatoly Burakov <anatoly.burakov at intel.com>
> ---
>
> Notes:
> Not sure if stable release script picks up fixes for commits intended
> for stable releases?
What do you mean? Is this patch for master?
The process is to Cc: stable, then it is backported.
The script check-git-log.sh helps you to correctly set Cc: stable tag.
More information about the dev
mailing list