seoz pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=43c3e332a80399bc25b7d6393e2f3002f55e916a

commit 43c3e332a80399bc25b7d6393e2f3002f55e916a
Author: Daniel Juyung Seo <seojuyu...@gmail.com>
Date:   Sun Feb 9 22:15:00 2014 +0900

    atspi_bridge: unref ret if iter_struct is null
    
    This fixes coverity CID 1170201.
---
 src/lib/elm_atspi_bridge.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/elm_atspi_bridge.c b/src/lib/elm_atspi_bridge.c
index cbede6c..46b5aad 100644
--- a/src/lib/elm_atspi_bridge.c
+++ b/src/lib/elm_atspi_bridge.c
@@ -670,7 +670,7 @@ _component_get_extents(const Eldbus_Service_Interface 
*iface EINA_UNUSED, const
 
    return ret;
 fail:
-   if (iter_struct) eldbus_message_iter_del(iter_struct);
+   if (ret) eldbus_message_unref(ret);
    return NULL;
 }
 

-- 


Reply via email to