forked from enlightenment/efl
fix null dereference reported by clang, patch by Luis Felipe.
SVN revision: 38685
This commit is contained in:
parent
8355545bfe
commit
e22296968f
|
@ -528,7 +528,7 @@ ecore_config_typed_add(const char *key, const void *val, int type)
|
|||
|
||||
if (!(e = calloc(1, sizeof(Ecore_Config_Prop))))
|
||||
{
|
||||
error = ECORE_CONFIG_ERR_OOM;
|
||||
return ECORE_CONFIG_ERR_OOM;
|
||||
}
|
||||
else if (!(e->key = strdup(key)))
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue