raster pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=c43308efb4e02849333bd5c1780dc8a149dd14ee

commit c43308efb4e02849333bd5c1780dc8a149dd14ee
Author: Carsten Haitzler (Rasterman) <[email protected]>
Date:   Thu Sep 29 09:50:02 2016 +0900

    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
---
 src/lib/eo/eo.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/lib/eo/eo.c b/src/lib/eo/eo.c
index ab52194..b98fb93 100644
--- a/src/lib/eo/eo.c
+++ b/src/lib/eo/eo.c
@@ -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);

-- 


Reply via email to