]> granicus.if.org Git - libass/commit
Fix renderer memory leaks
authorGrigori Goronzy <greg@blackbox>
Fri, 24 Jul 2009 08:06:16 +0000 (10:06 +0200)
committerGrigori Goronzy <greg@blackbox>
Fri, 24 Jul 2009 13:39:20 +0000 (15:39 +0200)
commit9d421ddec0a17bb17a77571653f30931b55b7397
treecbafe7f90ecb713e912efe28acc3d7ad870e61f9
parent074399f7dcb4c94cc86d87250c05ba497fe26e45
Fix renderer memory leaks

Use the correct free order when freeing a ass_renderer and make sure
that the latest list of ass_images is freed, too.

Protect the font family string against double free and make sure it
is freed in free_render_context.

Leaks and access problems were found by valgrind/memcheck.
libass/ass_render.c