forked from enlightenment/efl
parent
d5c0e791be
commit
e3e9a48c9a
|
@ -564,9 +564,7 @@ ecore_config_typed_add(const char *key, void *val, int type)
|
||||||
if (!(e->key = strdup(key)))
|
if (!(e->key = strdup(key)))
|
||||||
goto ret_free_nte;
|
goto ret_free_nte;
|
||||||
|
|
||||||
if (!val)
|
if (ecore_config_typed_val(e, val, type) == ECORE_CONFIG_ERR_OOM)
|
||||||
e->type = PT_NIL;
|
|
||||||
else if (ecore_config_typed_val(e, val, type) == ECORE_CONFIG_ERR_OOM)
|
|
||||||
goto ret_free_key;
|
goto ret_free_key;
|
||||||
|
|
||||||
e->next = t ? t->data : NULL;
|
e->next = t ? t->data : NULL;
|
||||||
|
|
Loading…
Reference in New Issue