aboutsummaryrefslogtreecommitdiff
path: root/lout/misc.cc
diff options
context:
space:
mode:
Diffstat (limited to 'lout/misc.cc')
-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;