diff options
author | Sebastian Geerken <devnull@localhost> | 2013-01-02 10:00:02 +0100 |
---|---|---|
committer | Sebastian Geerken <devnull@localhost> | 2013-01-02 10:00:02 +0100 |
commit | ea0cbd334be765eac1d47783c052d15642a407be (patch) | |
tree | 0806204dfcf2b68820ce469f0e498545ab59d702 /test | |
parent | 9a533c36c2858875a31900fc86a3000a8f1d59bc (diff) |
Fixed valgrind error in Hyphenator.
Diffstat (limited to 'test')
-rw-r--r-- | test/liang.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/liang.cc b/test/liang.cc index a1bc2442..ce5036fa 100644 --- a/test/liang.cc +++ b/test/liang.cc @@ -18,7 +18,7 @@ void hyphenateWord (dw::core::Platform *p, const char *word) } putchar ('\n'); if (breakPos) - delete breakPos; + free (breakPos); } int main (int argc, char *argv[]) |