widget: stop deleting data, destructor does

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2008-06-15 21:18:54 +02:00
parent a1a8f608b1
commit eade93c4c8
1 changed files with 0 additions and 1 deletions

View File

@ -136,7 +136,6 @@ widget_delete(widget_t **widget)
if((*widget)->destructor)
(*widget)->destructor(*widget);
button_list_wipe(&(*widget)->buttons);
p_delete(&(*widget)->data);
p_delete(&(*widget)->name);
p_delete(widget);
}