Free memory associated with structure used for appointments notification.

This commit is contained in:
Frederic Culot
2009-06-21 14:42:49 +00:00
parent 3ece481999
commit bc44508a10
4 changed files with 23 additions and 3 deletions

View File

@@ -1,4 +1,4 @@
/* $calcurse: notify.c,v 1.36 2009/01/22 18:11:57 culot Exp $ */
/* $calcurse: notify.c,v 1.37 2009/06/21 14:42:49 culot Exp $ */
/*
* Calcurse - text-based organizer
@@ -112,6 +112,16 @@ notify_init_bar (void)
extract_aptsfile ();
}
/*
* Free memory associated with the notify_app structure.
*/
void
notify_free_app (void)
{
if (notify_app.got_app && notify_app.txt)
mem_free (notify_app.txt);
}
/* Stop the notify-bar main thread. */
void
notify_stop_main_thread (void)