Add NULL pointer check 99/62499/1
authorSeungjin Park <sj8808.park@samsung.com>
Wed, 16 Mar 2016 10:44:13 +0000 (19:44 +0900)
committerSeungjin Park <sj8808.park@samsung.com>
Wed, 16 Mar 2016 10:45:43 +0000 (19:45 +0900)
Change-Id: I2ae85481f5ac0a4d9b389082003ea75ad21cce2e

src/bin/e_module.c

index 82b16dea9eb934ea662505e23f0fe2c494c86d71..d30088a245f5928cdf7608e8f1c81442ae7a5359 100644 (file)
@@ -769,6 +769,8 @@ _e_module_dialog_disable_show(const char *title, const char *body, E_Module *m)
    snprintf(buf, sizeof(buf), "%s<br>%s", body,
             _("What action should be taken with this module?<br>"));
 
+   if (!dia) return;
+
    e_dialog_title_set(dia, title);
    e_dialog_icon_set(dia, "enlightenment", 64);
    e_dialog_text_set(dia, buf);