Skip to content

Commit 6dfc111

Browse files
committed
Add back free, these are not stored in the List.
1 parent f6eacae commit 6dfc111

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Undo.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ void UndoAction_delete(Object* cast) {
9696
} else if (this->kind == UndoUnindent) {
9797
free(this->data.unindent.buf);
9898
}
99+
free(this);
99100
}
100101

101102
Undo* Undo_new(List* list) {

0 commit comments

Comments
 (0)