[MPlayer-cvslog] CVS: main mplayer.c,1.854,1.855
Ivan Kalvachev CVS
syncmail at mplayerhq.hu
Thu Jul 21 16:03:54 CEST 2005
CVS change done by Ivan Kalvachev CVS
Update of /cvsroot/mplayer/main
In directory mail:/var2/tmp/cvs-serv8521
Modified Files:
mplayer.c
Log Message:
Fix few memleaks on exit.
2 lines inspired by Timothy Lee <timothy.lee <at> siriushk.com> patch
Index: mplayer.c
===================================================================
RCS file: /cvsroot/mplayer/main/mplayer.c,v
retrieving revision 1.854
retrieving revision 1.855
diff -u -r1.854 -r1.855
--- mplayer.c 3 Jul 2005 10:09:09 -0000 1.854
+++ mplayer.c 21 Jul 2005 14:03:52 -0000 1.855
@@ -499,11 +499,17 @@
vo_font = NULL;
done_freetype();
#endif
+ free_osd_list();
current_module="exit_player";
// free mplayer config
- free(mconfig);
+ if(mconfig)
+ m_config_free(mconfig);
+
+ if(playtree)
+ play_tree_free(playtree, 1);
+
#ifdef USE_EDL
if(edl_records != NULL) free(edl_records); // free mem allocated for EDL
More information about the MPlayer-cvslog
mailing list