cedric pushed a commit to branch master.

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

commit d52f825de60cf8d168aa6899253b6edb862d135b
Author: Cedric Bail <cedric.b...@samsung.com>
Date:   Fri Oct 4 09:54:27 2013 +0900

    eina: in case of an error we should exit not continue and manipulate dead 
data.
    
    This should fix a warning catched by LLVM/Clang.
---
 src/lib/eina/eina_inline_value.x | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/lib/eina/eina_inline_value.x b/src/lib/eina/eina_inline_value.x
index 2395e48..9ed7620 100644
--- a/src/lib/eina/eina_inline_value.x
+++ b/src/lib/eina/eina_inline_value.x
@@ -1296,6 +1296,7 @@ eina_value_hash_vset(Eina_Value *value, const char *key, 
va_list args)
              eina_value_type_flush(desc->subtype, mem);
              eina_hash_del_by_key(desc->hash, key);
              free(mem);
+             return EINA_FALSE;
           }
      }
 
@@ -1378,6 +1379,7 @@ eina_value_hash_pset(Eina_Value *value, const char *key, 
const void *ptr)
              eina_value_type_flush(desc->subtype, mem);
              eina_hash_del_by_key(desc->hash, key);
              free(mem);
+             return EINA_FALSE;
           }
      }
 

-- 


Reply via email to