diff options
author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2012-09-21 21:20:50 +0200 |
---|---|---|
committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2012-09-21 21:20:50 +0200 |
commit | 8f4e57c344198b1beefcd17e913a6ac2114a8b00 (patch) | |
tree | 251ec2f719216ef070c7838719034ff2b6b65f4a /dw/textblock_linebreaking.cc | |
parent | 83d0c72cbb99424c9f1e4a44c1449380bda845ea (diff) |
fix some free() / delete mismatches
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; } |