[vlc-devel] [PATCH] realloc: use realloc_or_free() to avoid memory leak
arjun024 at gmail.com
Wed Dec 10 17:47:32 CET 2014
On 10 December 2014 at 20:19, Rémi Denis-Courmont <remi at remlab.net> wrote:
> Le 2014-12-10 17:35, Arjun Sreedharan a écrit :
>> overwriting pointer with realloc()'s return value can leak memory
>> when realloc() fails. realloc_or_free() manages this and frees memory
>> on failure.
> Did you actually test this? Some of the snippets don't look right.
It compiled fine.
Could you point out what looks wrong to you.
> Rémi Denis-Courmont
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
More information about the vlc-devel