[MPlayer-cvslog] r21515 - trunk/libmpcodecs/vd_theora.c

reimar subversion at mplayerhq.hu
Wed Dec 6 11:42:30 CET 2006


Author: reimar
Date: Wed Dec  6 11:42:30 2006
New Revision: 21515

Modified:
   trunk/libmpcodecs/vd_theora.c

Log:
Fix memleak in theora decoder due to missing theora_comment_/theora_info_clear on uninit


Modified: trunk/libmpcodecs/vd_theora.c
==============================================================================
--- trunk/libmpcodecs/vd_theora.c	(original)
+++ trunk/libmpcodecs/vd_theora.c	Wed Dec  6 11:42:30 2006
@@ -127,6 +127,8 @@
 
    if (context)
    {
+      theora_info_clear(&context->inf);
+      theora_comment_clear(&context->cc);
       theora_clear (&context->st);
       free (context);
    }



More information about the MPlayer-cvslog mailing list