10l memory leak

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8578 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
alex 2002-12-27 16:42:11 +00:00
parent 03e3deb95c
commit fc447a4d4c
1 changed files with 6 additions and 0 deletions

View File

@ -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();