Update of /cvsroot/mahogany/M/src/gui
In directory usw-pr-cvs1:/tmp/cvs-serv9878/src/gui
Modified Files:
wxMApp.cpp
Log Message:
fix a (harmless) memory leak
Index: wxMApp.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/gui/wxMApp.cpp,v
retrieving revision 1.234
retrieving revision 1.235
diff -b -u -2 -r1.234 -r1.235
--- wxMApp.cpp 22 Apr 2002 16:49:31 -0000 1.234
+++ wxMApp.cpp 22 Apr 2002 17:01:41 -0000 1.235
@@ -488,4 +488,11 @@
DoCleanup();
+ // if the program startup failed it could be not deleted before
+ if ( m_profile )
+ {
+ m_profile->DecRef();
+ m_profile = NULL;
+ }
+
Profile::DeleteGlobalConfig();
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates