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)
|
||||
{
|
||||
eina_stringshare_del(sd->file);
|
||||
sd->file = NULL;
|
||||
eina_stringshare_del(sd->group);
|
||||
sd->group = NULL;
|
||||
ELM_SAFE_FREE(sd->file, eina_stringshare_del);
|
||||
ELM_SAFE_FREE(sd->group, eina_stringshare_del);
|
||||
if (ret) *ret = EINA_TRUE;
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue