mirror of https://github.com/mpv-player/mpv
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
This commit is contained in:
parent
10021f03bc
commit
dd4bc17421
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue