From f92fa733b572412ca099dbda040ad06f46de4827 Mon Sep 17 00:00:00 2001 From: Boris Faure Date: Thu, 27 Feb 2014 23:56:19 +0100 Subject: [PATCH] fix CID 1187639: dereference after null check --- src/bin/options_theme.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/options_theme.c b/src/bin/options_theme.c index 03585d77..e1ce254b 100644 --- a/src/bin/options_theme.c +++ b/src/bin/options_theme.c @@ -187,7 +187,7 @@ options_theme(Evas_Object *opbox, Evas_Object *term) if (t->item) { themes = eina_list_append(themes, t); - if ((config->theme) && + if ((config) && (config->theme) && (!strcmp(config->theme, t->name))) { if (seltimer) ecore_timer_del(seltimer);