forked from enlightenment/enlightenment
Fix bug reported by CodeWarrior (it was a double free).
SVN revision: 35154
This commit is contained in:
parent
77e26d9daa
commit
ed01e4b87a
|
@ -733,7 +733,8 @@ _e_desktop_edit_cb_exec_select_destroy(void *obj)
|
||||||
E_Dialog *dia = obj;
|
E_Dialog *dia = obj;
|
||||||
E_Config_Dialog_Data *cfdata = dia->data;
|
E_Config_Dialog_Data *cfdata = dia->data;
|
||||||
|
|
||||||
e_object_unref(E_OBJECT(dia));
|
/* guess it should work like _e_desktop_edit_cb_icon_select_destroy */
|
||||||
|
/* e_object_unref(E_OBJECT(dia)); */
|
||||||
_e_desktop_edit_cb_exec_select_cancel(cfdata, NULL);
|
_e_desktop_edit_cb_exec_select_cancel(cfdata, NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue