Fixed double free of data. Patch by Dima K. <dimakar@yahoo.com>

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10795 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
mosu 2003-09-02 14:39:02 +00:00
parent f5e785c918
commit c050413677
1 changed files with 1 additions and 1 deletions

View File

@ -636,7 +636,7 @@ void vo_x11_uninit()
saver_on(mDisplay);
if(vo_window!=None) vo_showcursor( mDisplay,vo_window );
if (f_gc) XFreeGC(mDisplay, f_gc);
if (f_gc) { XFreeGC(mDisplay, f_gc); f_gc = NULL; }
#ifdef HAVE_NEW_GUI
/* destroy window only if it's not controlled by GUI */