diff options
author | pontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-10-16 22:53:18 +0000 |
---|---|---|
committer | pontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-10-16 22:53:18 +0000 |
commit | a06c8c3796fca45bab6aa92e3e55f75e125dad55 (patch) | |
tree | f409a56e85682a7342627d96d07cc75bc4dfe7a6 /libvo/x11_common.c | |
parent | 0020017268528f62835064895284c9ed21167f4f (diff) | |
download | mpv-a06c8c3796fca45bab6aa92e3e55f75e125dad55.tar.bz2 mpv-a06c8c3796fca45bab6aa92e3e55f75e125dad55.tar.xz |
fix memleak again
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7767 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/x11_common.c')
-rw-r--r-- | libvo/x11_common.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libvo/x11_common.c b/libvo/x11_common.c index 4774ce56a0..5bdfc35abc 100644 --- a/libvo/x11_common.c +++ b/libvo/x11_common.c @@ -488,6 +488,7 @@ void vo_x11_uninit() { if(vo_gc){ XSetBackground( mDisplay,vo_gc,0 ); + XFreeGC( mDisplay,vo_gc ); vo_gc=NULL; } if(vo_window!=None){ |