aboutsummaryrefslogtreecommitdiff
path: root/dw/textblock_linebreaking.cc
diff options
context:
space:
mode:
authorSebastian Geerken <devnull@localhost>2012-10-07 23:35:56 +0200
committerSebastian Geerken <devnull@localhost>2012-10-07 23:35:56 +0200
commit2cd28ca74309f81d295a0860a140e030ee7f80d3 (patch)
tree3d7463a12a2c17123ce15070eb44a8a8df9e2e3e /dw/textblock_linebreaking.cc
parent177612b46579076ca5a7ddaffb96083d40d0dc06 (diff)
parentd1179582ee86f08fbc23d2363df7a794324095e8 (diff)
Merge with main repo.
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;
}