[syslinux] [PATCH v2 1/1] extlinux: fix memory leak
Gene Cumm
gene.cumm at gmail.com
Thu Sep 17 10:59:35 PDT 2015
On Fri, Sep 11, 2015 at 10:12 AM, Paulo Alcantara via Syslinux
<syslinux at zytor.com> wrote:
> On Thu, 10 Sep 2015 10:55:04 +0300
> Imran Zaman via Syslinux <syslinux at zytor.com> wrote:
>
>> devname is put on heap for all cases to avoid memory
>> leak, and ease of use in future as well
>>
>> Signed-off-by: Imran Zaman <imran.zaman at intel.com>
>
> Reviewed-by: Paulo Alcantara <pcacjr at zytor.com>
Regarding both versions, I'm trying to figure out if it's better to
keep the const nature of this then cast to a (char *) in order to free
at the right spot.
--
-Gene
More information about the Syslinux
mailing list