summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBaptiste Lepilleur <gaiacrtn@free.fr>2009-11-24 10:31:09 +0000
committerBaptiste Lepilleur <gaiacrtn@free.fr>2009-11-24 10:31:09 +0000
commit2ad11a1f1a022f1fbaaf8deae64e9249cfc8fb4b (patch)
treeb800bb2133fedf901505e31fa742980c009b897e
parentedd2b1f19999dd6a2e44c835ca32e618f1f98dc4 (diff)
src/msvc6/testpluginrunner/TestPlugInRunnerDlg.cpp: fixed
memory leak in getCommandLineArguments() (bug #1721408).
-rw-r--r--ChangeLog3
-rw-r--r--NEWS24
-rw-r--r--src/msvc6/testpluginrunner/TestPlugInRunnerDlg.cpp2
3 files changed, 18 insertions, 11 deletions
diff --git a/ChangeLog b/ChangeLog
index e576ca5..a75c691 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -14,6 +14,9 @@
* examples/examples2008.sln: Fixed compilation issue in debug
configuration with VS2008 (due to incorrect configuration
being picked up).
+
+ * src/msvc6/testpluginrunner/TestPlugInRunnerDlg.cpp: fixed
+ memory leak in getCommandLineArguments() (bug #1721408).
2009-11-23 Baptiste Lepilleur <blep@users.sourceforge.net>
diff --git a/NEWS b/NEWS
index 8a9d859..034c295 100644
--- a/NEWS
+++ b/NEWS
@@ -2,21 +2,25 @@
----------------------
* Portability:
- - Added support for macro CPPUNIT_UNIQUE_COUNTER to config-*.h. It
- should expands to a unique number per translation unit. Default
- to __LINE__ if not defined. Use __COUNTER__ on MSVS 7.0+.
- (Bug #2031696)
+ - Added support for macro CPPUNIT_UNIQUE_COUNTER to config-*.h. It
+ should expands to a unique number per translation unit. Default
+ to __LINE__ if not defined. Use __COUNTER__ on MSVS 7.0+.
+ (Bug #2031696)
* Compilation:
- - Fixed compilation issue with Microsoft Visual Studio.Net 2008 and
- added Visual Studio projects (.vcproj).
+ - Fixed compilation issue with Microsoft Visual Studio.Net 2008 and
+ added Visual Studio projects (.vcproj).
- - Changes to build without warnings using gcc -Wall -W -ansi
- (patch #1898225 contributed by dpkatz)
+ - Changes to build without warnings using gcc -Wall -W -ansi
+ (patch #1898225 contributed by dpkatz)
- - Libraries flags such as "-ldl" are now in LDADD instead of LIBADD_DL
- ( patch #2807259 contributed by Jan Echternach).
+ - Libraries flags such as "-ldl" are now in LDADD instead of LIBADD_DL
+ ( patch #2807259 contributed by Jan Echternach).
+
+* Test Plug-in Runner:
+ - fixed memory leak in TestPlugInRunnerDlg (#1721408)
+
New in CppUnit 1.12.1:
----------------------
diff --git a/src/msvc6/testpluginrunner/TestPlugInRunnerDlg.cpp b/src/msvc6/testpluginrunner/TestPlugInRunnerDlg.cpp
index bf9e2a7..b7f038b 100644
--- a/src/msvc6/testpluginrunner/TestPlugInRunnerDlg.cpp
+++ b/src/msvc6/testpluginrunner/TestPlugInRunnerDlg.cpp
@@ -147,7 +147,7 @@ TestPlugInRunnerDlg::getCommandLineArguments()
for( int index = 0; index < argc; index++ )
arguments.push_back( std::string( CString( argv[index] ) ) );
- ::GlobalFree( argv );
+ ::LocalFree( argv );
return arguments;
}