[dpdk-dev] [PATCH v2 1/1] eal: fix resource leak of mapped memory
marcinx.kerlin at intel.com
Wed Jun 15 13:13:49 CEST 2016
> -----Original Message-----
> From: Panu Matilainen [mailto:pmatilai at redhat.com]
> Sent: Wednesday, June 15, 2016 12:06 PM
> To: Kerlin, MarcinX <marcinx.kerlin at intel.com>; Gonzalez Monroy, Sergio
> <sergio.gonzalez.monroy at intel.com>; david.marchand at 6wind.com
> Cc: dev at dpdk.org
> Subject: Re: [dpdk-dev] [PATCH v2 1/1] eal: fix resource leak of mapped
> 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