[dpdk-dev] [PATCH v2 1/1] eal: fix resource leak of mapped memory

Panu Matilainen pmatilai at redhat.com
Wed Jun 15 12:05:34 CEST 2016


On 06/15/2016 12:35 PM, Kerlin, MarcinX wrote:
> Hi Sergio,
>
> Thanks for tips, I removed double casting and I leave (void *) casting because pointer hp is const and compiler returns warnings.

If hp is something that needs freeing then it shouldn't be const in the 
first place. Please fix that instead.

	- Panu -



More information about the dev mailing list