javauis/eswt_qt/org.eclipse.swt/Eclipse_SWT_PI/qt/library/graphics/graphics.h
changeset 87 1627c337e51e
parent 80 d6dafc5d983f
--- a/javauis/eswt_qt/org.eclipse.swt/Eclipse_SWT_PI/qt/library/graphics/graphics.h	Fri Oct 15 12:29:39 2010 +0300
+++ b/javauis/eswt_qt/org.eclipse.swt/Eclipse_SWT_PI/qt/library/graphics/graphics.h	Fri Oct 29 11:49:32 2010 +0300
@@ -1711,7 +1711,7 @@
         mMsg = new char[aMsg.size()+1];
         strcpy(mMsg, aMsg.toAscii().data());
     };
-    //~GfxException() { delete mMsg; };
+    ~GfxException() { delete mMsg; mMsg = NULL; };
     int getErrorCode() { return mErrorCode; };
     const char* getMsg() { return (const char*)mMsg; };
 private: