eo - silence coverit "leak" on eo init if eoid table tls alloc fails

creating a new tls for the eoid table should just never fail so this
is moot anyway, but it silences CID 1362735
This commit is contained in:
Carsten Haitzler 2016-09-29 09:50:02 +09:00
parent 958308fa8a
commit c43308efb4
1 changed files with 1 additions and 0 deletions

View File

@ -1917,6 +1917,7 @@ efl_object_init(void)
if (!eina_tls_cb_new(&_eo_table_data, _eo_table_del_cb))
{
EINA_LOG_ERR("Could not allocate TLS for eo domain data");
_eo_table_del_cb(data);
return EINA_FALSE;
}
eina_tls_set(_eo_table_data, data);