summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCedric Bail <cedric.bail@samsung.com>2013-10-04 09:54:27 +0900
committerCedric Bail <cedric.bail@samsung.com>2013-10-04 10:56:05 +0900
commitd52f825de60cf8d168aa6899253b6edb862d135b (patch)
tree473a244851105f6941bf69d349ab7fde5d805eba
parent82f5f78dac8d3055fe1e1c3431875250456887b9 (diff)
eina: in case of an error we should exit not continue and manipulate dead data.
This should fix a warning catched by LLVM/Clang.
-rw-r--r--src/lib/eina/eina_inline_value.x2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/eina/eina_inline_value.x b/src/lib/eina/eina_inline_value.x
index 2395e48af9..9ed7620c19 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)
1296 eina_value_type_flush(desc->subtype, mem); 1296 eina_value_type_flush(desc->subtype, mem);
1297 eina_hash_del_by_key(desc->hash, key); 1297 eina_hash_del_by_key(desc->hash, key);
1298 free(mem); 1298 free(mem);
1299 return EINA_FALSE;
1299 } 1300 }
1300 } 1301 }
1301 1302
@@ -1378,6 +1379,7 @@ eina_value_hash_pset(Eina_Value *value, const char *key, const void *ptr)
1378 eina_value_type_flush(desc->subtype, mem); 1379 eina_value_type_flush(desc->subtype, mem);
1379 eina_hash_del_by_key(desc->hash, key); 1380 eina_hash_del_by_key(desc->hash, key);
1380 free(mem); 1381 free(mem);
1382 return EINA_FALSE;
1381 } 1383 }
1382 } 1384 }
1383 1385