git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@69763
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
2012-03-16 Raphael Kubo da Costa
* Adjust Valgrind's CFLAGS to fix the build when it is in a non-default location.
+
+2012-03-29 Iván Briano
+
+ * Avoid freeing old data before returning it on eina_hash_set().
}
else
{
+ Eina_Free_Cb cb = hash->data_free_cb;
+ hash->data_free_cb = NULL;
_eina_hash_del_by_hash_el(hash, hash_element, hash_head, key_hash);
+ hash->data_free_cb = cb;
}
return old_data;