summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2021-02-08 14:50:30 -0500
committerLeo Tenenbaum <pommicket@gmail.com>2021-02-08 14:50:30 -0500
commitf05a22635e54564e9dfed28f83ea583a19046d03 (patch)
tree519861992a7c313b7d9ebf5b273b2bd436f6fd96 /main.c
parentaa862462008e647cc4e87fd4618fe5dc5af1076d (diff)
search in both directions
Diffstat (limited to 'main.c')
-rw-r--r--main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/main.c b/main.c
index 4570486..9f4b508 100644
--- a/main.c
+++ b/main.c
@@ -688,6 +688,7 @@ int main(int argc, char **argv) {
SDL_GL_DeleteContext(glctx);
SDL_DestroyWindow(window);
SDL_Quit();
+ find_close(ted);
for (u16 i = 0; i < TED_MAX_BUFFERS; ++i)
if (ted->buffers_used[i])
buffer_free(&ted->buffers[i]);