[syslinux] [PATCH v2 1/1] extlinux: fix memory leak

Gene Cumm gene.cumm at gmail.com
Sun Sep 27 15:00:31 PDT 2015


On Thu, Sep 17, 2015 at 1:59 PM, Gene Cumm <gene.cumm at gmail.com> wrote:
> 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.

Commit ID 4f2f680a which I'll be pushing tonight.

-- 
-Gene


More information about the Syslinux mailing list