diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-12-06 10:42:30 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-12-06 10:42:30 +0000 |
commit | dd4bc174218dae680b06572a4fb9eb52d804dc30 (patch) | |
tree | cabf46aaeae32dd5458e420b8fd2b635c64528ff /libmpcodecs/vd_theora.c | |
parent | 10021f03bc9d2b3b2346cbb3cf5b0dcc747c1d24 (diff) | |
download | mpv-dd4bc174218dae680b06572a4fb9eb52d804dc30.tar.bz2 mpv-dd4bc174218dae680b06572a4fb9eb52d804dc30.tar.xz |
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
Diffstat (limited to 'libmpcodecs/vd_theora.c')
-rw-r--r-- | libmpcodecs/vd_theora.c | 2 |
1 files changed, 2 insertions, 0 deletions
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); } |