From eade93c4c8450728dbc473cae5a604d541fe2e0a Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Sun, 15 Jun 2008 21:18:54 +0200 Subject: [PATCH] widget: stop deleting data, destructor does Signed-off-by: Julien Danjou --- structs.h | 1 - 1 file changed, 1 deletion(-) diff --git a/structs.h b/structs.h index b2c2058e..12128547 100644 --- a/structs.h +++ b/structs.h @@ -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); }