diff options
Diffstat (limited to 'dw/textblock_linebreaking.cc')
-rw-r--r-- | dw/textblock_linebreaking.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dw/textblock_linebreaking.cc b/dw/textblock_linebreaking.cc index 48acc5b8..09dfd63d 100644 --- a/dw/textblock_linebreaking.cc +++ b/dw/textblock_linebreaking.cc @@ -677,7 +677,7 @@ int Textblock::hyphenateWord (int wordIndex) origWord.style->unref (); origWord.spaceStyle->unref (); - delete breakPos; + free (breakPos); } else { words->getRef(wordIndex)->canBeHyphenated = false; } |