aboutsummaryrefslogtreecommitdiff
path: root/core/text.c
diff options
context:
space:
mode:
Diffstat (limited to 'core/text.c')
-rw-r--r--core/text.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/text.c b/core/text.c
index 7154b70..01aa322 100644
--- a/core/text.c
+++ b/core/text.c
@@ -132,6 +132,7 @@ int main(int argc, char *argv[]) {
ok(text_mark_get(txt, mof) == EPOS, "Mark in the middle deleted");
text_undo(txt);
ok(text_mark_get(txt, mof) == newpos, "Mark restored");
+ text_free(txt);
return exit_status();
}