[vlc-devel] [PATCH] Fix a memleak in vlc_meta_delete().

Pierre d'Herbemont pdherbemont at free.fr
Tue Sep 30 11:52:16 CEST 2008


On Mon, Sep 29, 2008 at 6:23 PM, Rémi Denis-Courmont <rem at videolan.org> wrote:
> Le lundi 29 septembre 2008 19:14:06 magsoft, vous avez écrit :
>> Indeed vlc_meta_AddExtra() allocates memory using strdup() which is never
>> free.
>
> IMHO dictionary_clear should take a function pointer and an opaque pointer to
> cleanup all members (and it should not expose such large inlines).

Agreed.



More information about the vlc-devel mailing list