mirror of https://github.com/mpv-player/mpv
10l memory leak
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8578 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
03e3deb95c
commit
fc447a4d4c
|
@ -397,6 +397,12 @@ static void uninit(void)
|
||||||
{
|
{
|
||||||
if ( !vo_config_count ) return;
|
if ( !vo_config_count ) return;
|
||||||
vidix_term();
|
vidix_term();
|
||||||
|
|
||||||
|
if (vidix_name)
|
||||||
|
{
|
||||||
|
free(vidix_name);
|
||||||
|
vidix_name = NULL;
|
||||||
|
}
|
||||||
|
|
||||||
saver_on(mDisplay); /* screen saver back on */
|
saver_on(mDisplay); /* screen saver back on */
|
||||||
vo_x11_uninit();
|
vo_x11_uninit();
|
||||||
|
|
Loading…
Reference in New Issue