summaryrefslogtreecommitdiffstats
path: root/translate.cxx
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 /translate.cxx
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 [].
Diffstat (limited to 'translate.cxx')
-rw-r--r--translate.cxx2
1 files changed, 1 insertions, 1 deletions
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;
}