summaryrefslogtreecommitdiff
path: root/lout
diff options
context:
space:
mode:
authorcorvid <corvid@lavabit.com>2011-05-13 00:51:50 +0000
committercorvid <corvid@lavabit.com>2011-05-13 00:51:50 +0000
commitb4354b564c4ffc0b941f7871202739839861d78d (patch)
tree543304c9c04f81407080078433aa102411b98379 /lout
parent680ea8034bc88a5894d53a67fa65c595bde3e064 (diff)
more free/delete
Diffstat (limited to 'lout')
-rw-r--r--lout/misc.cc2
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;