summaryrefslogtreecommitdiff
path: root/src/utils.c
diff options
context:
space:
mode:
authorFrederic Culot <calcurse@culot.org>2009-06-21 14:42:49 +0000
committerFrederic Culot <calcurse@culot.org>2009-06-21 14:42:49 +0000
commitbc44508a10434b18ca3d231d58882995a4d6d2ad (patch)
tree5336dd83dfc23233d2bd339bad56e6d76033bc3a /src/utils.c
parent3ece481999768f494e2f4711b8e69e9f55491fe7 (diff)
downloadcalcurse-bc44508a10434b18ca3d231d58882995a4d6d2ad.zip
Free memory associated with structure used for appointments notification.
Diffstat (limited to 'src/utils.c')
-rwxr-xr-xsrc/utils.c4
1 files changed, 3 insertions, 1 deletions
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);