summaryrefslogtreecommitdiff
path: root/src/bin/test.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/test.c')
-rw-r--r--src/bin/test.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/bin/test.c b/src/bin/test.c
index e1902edd5..62c883497 100644
--- a/src/bin/test.c
+++ b/src/bin/test.c
@@ -729,6 +729,7 @@ elm_main(int argc, char **argv)
729{ 729{
730 Eina_Bool test_win_only = EINA_FALSE; 730 Eina_Bool test_win_only = EINA_FALSE;
731 char *autorun = NULL; 731 char *autorun = NULL;
732 struct elm_test *t = NULL;
732 733
733 elm_policy_set(ELM_POLICY_QUIT, ELM_POLICY_QUIT_LAST_WINDOW_CLOSED); 734 elm_policy_set(ELM_POLICY_QUIT, ELM_POLICY_QUIT_LAST_WINDOW_CLOSED);
734 735
@@ -758,6 +759,10 @@ elm_main(int argc, char **argv)
758 my_win_main(autorun, test_win_only); /* create main window */ 759 my_win_main(autorun, test_win_only); /* create main window */
759 elm_run(); /* and run the program now and handle all events etc. */ 760 elm_run(); /* and run the program now and handle all events etc. */
760 /* if the mainloop that elm_run() runs exist - we exit the app */ 761 /* if the mainloop that elm_run() runs exist - we exit the app */
762
763 EINA_LIST_FREE(tests, t)
764 free(t);
765
761 elm_shutdown(); /* clean up and shut down */ 766 elm_shutdown(); /* clean up and shut down */
762 /* exit code */ 767 /* exit code */
763 return 0; 768 return 0;