cedric pushed a commit to branch enlightenment-0.17.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=56421ea30a26224e67929766ebc18a9d2f24de5f

commit 56421ea30a26224e67929766ebc18a9d2f24de5f
Author: Jean-Philippe Andre <jp.an...@samsung.com>
Date:   Wed Jan 15 12:36:27 2014 +0900

    Mixer: Fix crash when closing mixer settings
    
    app can already be NULL at this point, when called from _cb_win_del().
---
 src/modules/mixer/app_mixer.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/modules/mixer/app_mixer.c b/src/modules/mixer/app_mixer.c
index 1131cbd..68ae3f4 100644
--- a/src/modules/mixer/app_mixer.c
+++ b/src/modules/mixer/app_mixer.c
@@ -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);
 

-- 


Reply via email to