forked from enlightenment/enlightenment
Mixer: Fix crash when closing mixer settings
app can already be NULL at this point, when called from _cb_win_del().
This commit is contained in:
parent
891957f5df
commit
56421ea30a
|
@ -490,6 +490,9 @@ _create_ui(E_Dialog *dialog, E_Mixer_App_Dialog_Data *app)
|
|||
static void
|
||||
_mixer_app_dialog_del(E_Dialog *dialog, E_Mixer_App_Dialog_Data *app)
|
||||
{
|
||||
if (!app)
|
||||
return;
|
||||
|
||||
if (app->del.func)
|
||||
app->del.func(dialog, app->del.data);
|
||||
|
||||
|
|
Loading…
Reference in New Issue