diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2016-12-21 16:56:05 +0100 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2016-12-21 16:56:05 +0100 |
| commit | cca3d303023d53b5d0af96751f379b2d0e28cd18 (patch) | |
| tree | abc9d454a06e9902d4424cebefce0564d864dd0f /core/text.c | |
| parent | 869152604e454582a5e4a0908d4e7c88125c4e5b (diff) | |
| download | vis-cca3d303023d53b5d0af96751f379b2d0e28cd18.tar.gz vis-cca3d303023d53b5d0af96751f379b2d0e28cd18.tar.xz | |
test/core: make core tests asan clean
Diffstat (limited to 'core/text.c')
| -rw-r--r-- | core/text.c | 1 |
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(); } |
