diff options
author | corvid <corvid@lavabit.com> | 2011-05-13 00:51:50 +0000 |
---|---|---|
committer | corvid <corvid@lavabit.com> | 2011-05-13 00:51:50 +0000 |
commit | b4354b564c4ffc0b941f7871202739839861d78d (patch) | |
tree | 543304c9c04f81407080078433aa102411b98379 /lout/misc.cc | |
parent | 680ea8034bc88a5894d53a67fa65c595bde3e064 (diff) |
more free/delete
Diffstat (limited to 'lout/misc.cc')
-rw-r--r-- | lout/misc.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lout/misc.cc b/lout/misc.cc index 78f758fd..f45a3450 100644 --- a/lout/misc.cc +++ b/lout/misc.cc @@ -144,7 +144,7 @@ void StringBuffer::clear () Node *node, *nextNode; for (node = firstNode; node; node = nextNode) { nextNode = node->next; - delete node->data; + free(node->data); delete node; } firstNode = lastNode = NULL; |