diff options
-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; } |