[commit] r2633 - trunk/GME/Console

GMESRC Repository Notifications gme-commit at list.isis.vanderbilt.edu
Fri Apr 15 17:36:34 CDT 2016


Author: ksmyth
Date: Fri Apr 15 17:36:34 2016
New Revision: 2633

Log:
Fix Console.GetContents memory management

Modified:
   trunk/GME/Console/ConsoleCtl.cpp

Modified: trunk/GME/Console/ConsoleCtl.cpp
==============================================================================
--- trunk/GME/Console/ConsoleCtl.cpp	Fri Apr 15 17:36:28 2016	(r2632)
+++ trunk/GME/Console/ConsoleCtl.cpp	Fri Apr 15 17:36:34 2016	(r2633)
@@ -569,7 +569,7 @@
 		}
     }
 
-	return contents;
+	return contents.Detach();
 }
 
 void CConsoleCtrl::SetContents(LPCTSTR lpszNewValue) 


More information about the gme-commit mailing list