summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index 7077129..d6985a2 100644
--- a/src/main.c
+++ b/src/main.c
@@ -437,6 +437,14 @@ int main(int argc, const char *argv[])
til_module_context_free(rototiller.module_context);
til_stream_free(rototiller.stream);
til_fb_free(rototiller.fb);
+
+ { /* free setup (move to function? and disambiguate from til_setup_t w/rename? TODO) */
+ free((void *)setup.title);
+ til_setup_free(setup.video_setup);
+ til_settings_free(setup.video_settings);
+ til_setup_free(setup.module_setup);
+ til_settings_free(setup.module_settings);
+ }
}
til_shutdown();
© All Rights Reserved