From dd4bc174218dae680b06572a4fb9eb52d804dc30 Mon Sep 17 00:00:00 2001 From: reimar Date: Wed, 6 Dec 2006 10:42:30 +0000 Subject: Fix memleak in theora decoder due to missing theora_comment_/theora_info_clear on uninit git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21515 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpcodecs/vd_theora.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libmpcodecs/vd_theora.c') diff --git a/libmpcodecs/vd_theora.c b/libmpcodecs/vd_theora.c index 58321aa4f2..3ed2f88354 100644 --- a/libmpcodecs/vd_theora.c +++ b/libmpcodecs/vd_theora.c @@ -127,6 +127,8 @@ static void uninit(sh_video_t *sh) if (context) { + theora_info_clear(&context->inf); + theora_comment_clear(&context->cc); theora_clear (&context->st); free (context); } -- cgit v1.2.3