summaryrefslogtreecommitdiff
path: root/dw/hyphenator.cc
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2014-03-05 23:27:28 +0100
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2014-03-05 23:27:28 +0100
commit7040e0022111f8281f75ace528e857a5632518d9 (patch)
tree7d3d4459d95ababfded1e8f3999bc8ebf185de13 /dw/hyphenator.cc
parent4ef5572a6256155b6213987f71f4d836cb891ffe (diff)
use delete[] to delete array
Diffstat (limited to 'dw/hyphenator.cc')
-rw-r--r--dw/hyphenator.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/dw/hyphenator.cc b/dw/hyphenator.cc
index 5a75a61e..819cc9b0 100644
--- a/dw/hyphenator.cc
+++ b/dw/hyphenator.cc
@@ -201,7 +201,7 @@ void Hyphenator::insertException (char *s)
noHyphens[j] = 0;
exceptions->put (new String (noHyphens), breaks);
- delete noHyphens;
+ delete[] noHyphens;
}
/**