diff options
author | jistone <jistone> | 2007-09-25 17:47:17 +0000 |
---|---|---|
committer | jistone <jistone> | 2007-09-25 17:47:17 +0000 |
commit | c56866d45fca85fd6e7725e9eca1ad562ecf5d6e (patch) | |
tree | 898029a92e5af3b409d5cf3374151fa2422f15d0 | |
parent | 3ea1a7133d6f1afc84d5b85fdb36f7dae029eef6 (diff) | |
download | systemtap-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-- | ChangeLog | 5 | ||||
-rw-r--r-- | translate.cxx | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -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; } |