Mercurial > mplayer.hg
changeset 10794:de288979415d
Fixed double free of data. Patch by Dima K. <dimakar@yahoo.com>
author | mosu |
---|---|
date | Tue, 02 Sep 2003 14:39:02 +0000 |
parents | 7b2f852ad9b7 |
children | 2ab9ab4f07b4 |
files | libvo/x11_common.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libvo/x11_common.c Tue Sep 02 14:36:26 2003 +0000 +++ b/libvo/x11_common.c Tue Sep 02 14:39:02 2003 +0000 @@ -636,7 +636,7 @@ 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 */