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