cedric pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=3e89295c73f9ffc432a8c03168b5779439918ff9
commit 3e89295c73f9ffc432a8c03168b5779439918ff9 Author: Cedric Bail <[email protected]> Date: Sat Jan 11 21:36:47 2014 +0900 eina: fix memory leak of inserting the wrong value in the hash. We where inserting the pointer data instead of the pointer, leading to unaligned access on Sparc (Thanks Lutin to report it and Debian tools/infra to help us catch it) and also a memory leak. --- src/lib/eina/eina_file_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/eina/eina_file_common.c b/src/lib/eina/eina_file_common.c index 37f3f51..2c733ad 100644 --- a/src/lib/eina/eina_file_common.c +++ b/src/lib/eina/eina_file_common.c @@ -192,7 +192,7 @@ eina_file_virtual_map_new(Eina_File *file, map->refcount = 0; eina_hash_add(file->map, &key, map); - eina_hash_direct_add(file->rmap, map->map, map); + eina_hash_direct_add(file->rmap, &map->map, map); } map->refcount++; --
