fix CID 1187639: dereference after null check

This commit is contained in:
Boris Faure 2014-02-27 23:56:19 +01:00
parent e4191b2467
commit f92fa733b5
1 changed files with 1 additions and 1 deletions

View File

@ -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);