From: Scott Moynes Date: Sun, 18 May 2003 02:17:39 +0000 (+0000) Subject: Clean up on destroy. X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;ds=sidebyside;h=f54b294ef6691af88d175936e30cfc04d028cc32;hp=2b2beddc7447197d12fcbcae96772e1f38eef138;p=chaz%2Fopenbox Clean up on destroy. --- diff --git a/plugins/menu/timed_menu.c b/plugins/menu/timed_menu.c index d304b7b0..31540c02 100644 --- a/plugins/menu/timed_menu.c +++ b/plugins/menu/timed_menu.c @@ -203,6 +203,7 @@ void *plugin_create() void plugin_destroy (void *m) { + timed_menu_clean_up(m); /* this will be freed by timer_* */ timer_stop( ((Timed_Menu_Data *)TIMED_MENU(m)->plugin_data)->timer);