diff options
Diffstat (limited to 'src/notify.c')
-rwxr-xr-x | src/notify.c | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/notify.c b/src/notify.c index 8eee0d5..32ea3e7 100755 --- a/src/notify.c +++ b/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) |