aboutsummaryrefslogtreecommitdiff
path: root/dw/textblock_linebreaking.cc
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2012-09-21 21:20:50 +0200
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2012-09-21 21:20:50 +0200
commit8f4e57c344198b1beefcd17e913a6ac2114a8b00 (patch)
tree251ec2f719216ef070c7838719034ff2b6b65f4a /dw/textblock_linebreaking.cc
parent83d0c72cbb99424c9f1e4a44c1449380bda845ea (diff)
fix some free() / delete mismatches
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 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;
}