forked from enlightenment/efl
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:
parent
958308fa8a
commit
c43308efb4
|
@ -1917,6 +1917,7 @@ efl_object_init(void)
|
||||||
if (!eina_tls_cb_new(&_eo_table_data, _eo_table_del_cb))
|
if (!eina_tls_cb_new(&_eo_table_data, _eo_table_del_cb))
|
||||||
{
|
{
|
||||||
EINA_LOG_ERR("Could not allocate TLS for eo domain data");
|
EINA_LOG_ERR("Could not allocate TLS for eo domain data");
|
||||||
|
_eo_table_del_cb(data);
|
||||||
return EINA_FALSE;
|
return EINA_FALSE;
|
||||||
}
|
}
|
||||||
eina_tls_set(_eo_table_data, data);
|
eina_tls_set(_eo_table_data, data);
|
||||||
|
|
Loading…
Reference in New Issue