changeset 21499:2e6ebc42fa9a

Fix memleak in theora decoder due to missing theora_comment_/theora_info_clear on uninit
author reimar
date Wed, 06 Dec 2006 10:42:30 +0000
parents f2c58d4fb683
children e7e7f397f991
files libmpcodecs/vd_theora.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/vd_theora.c	Wed Dec 06 10:41:34 2006 +0000
+++ b/libmpcodecs/vd_theora.c	Wed Dec 06 10:42:30 2006 +0000
@@ -127,6 +127,8 @@
 
    if (context)
    {
+      theora_info_clear(&context->inf);
+      theora_comment_clear(&context->cc);
       theora_clear (&context->st);
       free (context);
    }