[Mplayer-cvslog] CVS: main/libvo vo_xv.c,1.123,1.124 x11_common.c,1.105,1.106
Zoltan Ponekker
pontscho at mplayerhq.hu
Thu Oct 17 00:53:22 CEST 2002
Update of /cvsroot/mplayer/main/libvo
In directory mail:/var/tmp.root/cvs-serv12479/libvo
Modified Files:
vo_xv.c x11_common.c
Log Message:
fix memleak again
Index: vo_xv.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_xv.c,v
retrieving revision 1.123
retrieving revision 1.124
diff -u -r1.123 -r1.124
--- vo_xv.c 16 Oct 2002 22:44:09 -0000 1.123
+++ vo_xv.c 16 Oct 2002 22:53:18 -0000 1.124
@@ -705,6 +705,7 @@
{
int i;
if ( !vo_config_count ) return;
+ free( ai );
saver_on(mDisplay); // screen saver back on
for( i=0;i<num_buffers;i++ ) deallocate_xvimage( i );
#ifdef HAVE_XF86VM
Index: x11_common.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/x11_common.c,v
retrieving revision 1.105
retrieving revision 1.106
diff -u -r1.105 -r1.106
--- x11_common.c 16 Oct 2002 13:31:38 -0000 1.105
+++ x11_common.c 16 Oct 2002 22:53:18 -0000 1.106
@@ -488,6 +488,7 @@
{
if(vo_gc){
XSetBackground( mDisplay,vo_gc,0 );
+ XFreeGC( mDisplay,vo_gc );
vo_gc=NULL;
}
if(vo_window!=None){
More information about the MPlayer-cvslog
mailing list