fix CID 1187639: dereference after null check

devs/cedric/ssh
Boris Faure 9 years ago
parent e4191b2467
commit f92fa733b5
  1. 2
      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);

Loading…
Cancel
Save