aboutsummaryrefslogtreecommitdiff
path: root/dw/textblock_linebreaking.cc
diff options
context:
space:
mode:
Diffstat (limited to 'dw/textblock_linebreaking.cc')
-rw-r--r--dw/textblock_linebreaking.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/dw/textblock_linebreaking.cc b/dw/textblock_linebreaking.cc
index f183ae0a..3835273d 100644
--- a/dw/textblock_linebreaking.cc
+++ b/dw/textblock_linebreaking.cc
@@ -712,7 +712,7 @@ int Textblock::hyphenateWord (int wordIndex)
origWord.style->unref ();
origWord.spaceStyle->unref ();
- delete breakPos;
+ free (breakPos);
} else {
words->getRef(wordIndex)->canBeHyphenated = false;
}