diff options
-rw-r--r-- | buf.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -51,6 +51,7 @@ void extendbuf(buf* buffer){ void shortenbuf(buf* buffer){ buf_node* tmp = buffer->tail; buffer->tail = buffer->tail->next; + free(tmp->text); free(tmp); } |