diff options
author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2014-03-05 23:27:28 +0100 |
---|---|---|
committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2014-03-05 23:27:28 +0100 |
commit | 7040e0022111f8281f75ace528e857a5632518d9 (patch) | |
tree | 7d3d4459d95ababfded1e8f3999bc8ebf185de13 | |
parent | 4ef5572a6256155b6213987f71f4d836cb891ffe (diff) |
use delete[] to delete array
-rw-r--r-- | dw/hyphenator.cc | 2 |
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; } /** |