> -----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 > memory > > 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.
Thanks, done > > - Panu -