Clean up on destroy.

This commit is contained in:
Scott Moynes 2003-05-18 02:17:39 +00:00
parent 2b2beddc74
commit f54b294ef6

View file

@ -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);