Clean up on destroy.
This commit is contained in:
parent
2b2beddc74
commit
f54b294ef6
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue