summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>2003-05-15 18:00:23 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>2003-05-15 18:00:23 +0000
commit64c103f2f9572dc2a75bafa29b98203659a23be2 (patch)
tree28b0e23e0f204ca6a0e6a0105629c54e2aa47db6
parent8493fed536aff7d2054e90e253ecf6e478b7a93e (diff)
downloadATCD-64c103f2f9572dc2a75bafa29b98203659a23be2.tar.gz
ChangeLogTag:Thu May 15 09:32:01 2003 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
-rw-r--r--ChangeLog12
-rw-r--r--THANKS4
-rw-r--r--ace/Configuration_Import_Export.cpp3
3 files changed, 16 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 4ad0f443be1..74a7beccf98 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+Thu May 15 09:32:01 2003 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
+
+ * ace/Configuration_Import_Export.cpp (import_config): Fixed a memory
+ leak where the "data" buffer wasn't being deleted. Thanks to
+ Roland Meub <Roland.Meub@tenovis.com> for reporting this.
+
Thu May 15 10:41:32 2003 Chad Elliott <elliott_c@ociweb.com>
* bin/MakeProjectCreator/templates/gnu.mpd:
@@ -2331,8 +2337,10 @@ Tue Apr 15 16:06:24 2003 Douglas C. Schmidt <schmidt@ace.cs.wustl.edu>
Thanks to Paxton Mason <PMason@wolve.com> for reporting this.
* ace/Timer_Wheel_T.cpp: Removed the use of a namespace since
- this breaks certain compilers (e.g., GCC 2.7-97 on LynxOS).
- Thanks to Olli Savia <ops@iki.fi> for reporting this problem.
+ this breaks certain compilers that don't support namespaces
+ (e.g., GCC 2.7-97 on LynxOS and SunC++ with the compat4=1
+ options). Thanks to Olli Savia <ops@iki.fi> and
+ Craig Watcham <craigw@ananzi.co.za> for reporting this problem.
* ace/OS.h: Make sure that things don't go awry on platforms
where clearerr is defined as a macro. Thanks to Olli Savia
diff --git a/THANKS b/THANKS
index b667d33a7a1..b6c11b6dd77 100644
--- a/THANKS
+++ b/THANKS
@@ -388,7 +388,7 @@ Kent Watsen <kent@watsen.net>
Chris Healey <chealey@entera.com>
Philippe Klein <Philippe_Klein@vocaltec.com>
William S. Lear <rael@dejanews.com>
-John Geiss <jtgb@eci-esyst.com>
+John Geiss <John_T_Geiss@raytheon.com>
Ernesto Guisado <eguisado@saincotrafico.com>
Stuart Myles <smyles@wsj.dowjones.com>
Lothar Werzinger <lwerzinger@krones.de>
@@ -1699,6 +1699,8 @@ Scott Gammil <srgammill@sbcglobal.net>
Nick Lewycky <nicholas@fresco.org>
Ira Burton <imburton@micron.com>
Thomas Wiegert <wiegert@schlund.de>
+Craig Watcham <craigw@ananzi.co.za>
+Roland Meub <Roland.Meub@tenovis.com>
I would particularly like to thank Paul Stephenson, who worked with me
at Ericsson in the early 1990's. Paul devised the recursive Makefile
diff --git a/ace/Configuration_Import_Export.cpp b/ace/Configuration_Import_Export.cpp
index 7f338f7c437..079bcda19e3 100644
--- a/ace/Configuration_Import_Export.cpp
+++ b/ace/Configuration_Import_Export.cpp
@@ -124,8 +124,11 @@ ACE_Registry_ImpExp::import_config (const ACE_TCHAR* filename)
if (config_.set_binary_value (section, name, data, length))
{
ACE_OS::fclose (in);
+ delete [] data;
return -4;
}
+ else
+ delete [] data;
}
else
{