# HG changeset patch # User reimar # Date 1165401750 0 # Node ID 2e6ebc42fa9ad5a325c62e9f9990f8d72cf421ce # Parent f2c58d4fb683d358d7a70093e6816b79ee89cdba Fix memleak in theora decoder due to missing theora_comment_/theora_info_clear on uninit diff -r f2c58d4fb683 -r 2e6ebc42fa9a libmpcodecs/vd_theora.c --- 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); }