summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjistone <jistone>2007-09-25 17:47:17 +0000
committerjistone <jistone>2007-09-25 17:47:17 +0000
commitc56866d45fca85fd6e7725e9eca1ad562ecf5d6e (patch)
tree898029a92e5af3b409d5cf3374151fa2422f15d0
parent3ea1a7133d6f1afc84d5b85fdb36f7dae029eef6 (diff)
downloadsystemtap-steved-c56866d45fca85fd6e7725e9eca1ad562ecf5d6e.tar.gz
systemtap-steved-c56866d45fca85fd6e7725e9eca1ad562ecf5d6e.tar.xz
systemtap-steved-c56866d45fca85fd6e7725e9eca1ad562ecf5d6e.zip
2007-09-25 Josh Stone <joshua.i.stone@intel.com>
* tapsets.cxx (translator_output::~translator_output): Fix mismatched delete / delete [].
-rw-r--r--ChangeLog5
-rw-r--r--translate.cxx2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 2d80c69b..2fd88a5e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-09-25 Josh Stone <joshua.i.stone@intel.com>
+
+ * tapsets.cxx (translator_output::~translator_output): Fix mismatched
+ delete / delete [].
+
2007-09-25 David Smith <dsmith@redhat.com>
* tapsets.cxx (mark_query::handle_query_module): Updated for
diff --git a/translate.cxx b/translate.cxx
index c60fad97..7ff2bae6 100644
--- a/translate.cxx
+++ b/translate.cxx
@@ -794,7 +794,7 @@ translator_output::translator_output (const string& filename, size_t bufsize):
translator_output::~translator_output ()
{
delete o2;
- delete buf;
+ delete [] buf;
}