Free memory associated with structure used for appointments notification.
This commit is contained in:
12
src/notify.c
12
src/notify.c
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user