fix CID 1187639: dereference after null check
This commit is contained in:
parent
e4191b2467
commit
f92fa733b5
|
@ -187,7 +187,7 @@ options_theme(Evas_Object *opbox, Evas_Object *term)
|
||||||
if (t->item)
|
if (t->item)
|
||||||
{
|
{
|
||||||
themes = eina_list_append(themes, t);
|
themes = eina_list_append(themes, t);
|
||||||
if ((config->theme) &&
|
if ((config) && (config->theme) &&
|
||||||
(!strcmp(config->theme, t->name)))
|
(!strcmp(config->theme, t->name)))
|
||||||
{
|
{
|
||||||
if (seltimer) ecore_timer_del(seltimer);
|
if (seltimer) ecore_timer_del(seltimer);
|
||||||
|
|
Loading…
Reference in New Issue