From bc44508a10434b18ca3d231d58882995a4d6d2ad Mon Sep 17 00:00:00 2001 From: Frederic Culot Date: Sun, 21 Jun 2009 14:42:49 +0000 Subject: Free memory associated with structure used for appointments notification. --- src/utils.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/utils.c') diff --git a/src/utils.c b/src/utils.c index 6d83742..80101b9 100755 --- a/src/utils.c +++ b/src/utils.c @@ -1,4 +1,4 @@ -/* $calcurse: utils.c,v 1.68 2009/01/24 14:44:25 culot Exp $ */ +/* $calcurse: utils.c,v 1.69 2009/06/21 14:42:50 culot Exp $ */ /* * Calcurse - text-based organizer @@ -53,6 +53,7 @@ exit_calcurse (int status) { if (ui_mode == UI_CURSES) { + notify_stop_main_thread (); clear (); refresh (); endwin (); @@ -70,6 +71,7 @@ exit_calcurse (int status) recur_apoint_free_bkp (ERASE_FORCE); recur_event_free_bkp (ERASE_FORCE); todo_free_list (); + notify_free_app (); keys_free (); mem_stats (); exit (status); -- cgit v1.2.3-54-g00ecf