forked from enlightenment/efl
elm_bg.c: ELM_SAFE_FREE adoption for bg.
I splited ELM_SAFE_FREE refactoring patches. One commit per each file as recommended. For the detail, please refer 3072dab12f12fe83fb5a628d15efd5cded11787f.
This commit is contained in:
parent
b0f793baa7
commit
7eef2d1892
|
@ -184,10 +184,8 @@ _file_set(Eo *obj, void *_pd, va_list *list)
|
||||||
}
|
}
|
||||||
if (!file)
|
if (!file)
|
||||||
{
|
{
|
||||||
eina_stringshare_del(sd->file);
|
ELM_SAFE_FREE(sd->file, eina_stringshare_del);
|
||||||
sd->file = NULL;
|
ELM_SAFE_FREE(sd->group, eina_stringshare_del);
|
||||||
eina_stringshare_del(sd->group);
|
|
||||||
sd->group = NULL;
|
|
||||||
if (ret) *ret = EINA_TRUE;
|
if (ret) *ret = EINA_TRUE;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue