summaryrefslogtreecommitdiff
path: root/src/lib/eina/eina_file.c
diff options
context:
space:
mode:
authorCedric BAIL <cedric.bail@free.fr>2013-02-06 09:28:00 +0000
committerCedric BAIL <cedric.bail@free.fr>2013-02-06 09:28:00 +0000
commit1cb8c3c0060fa817cab72c345096fc2d74e4bb43 (patch)
tree3eeb7952827f018d668fe25191c640dbc61c50b9 /src/lib/eina/eina_file.c
parent57badb0587386f2eeb8dbe009ba2eb8a8892f6d0 (diff)
efl/eina: fix map leak in Eina_File.
SVN revision: 83668
Diffstat (limited to 'src/lib/eina/eina_file.c')
-rw-r--r--src/lib/eina/eina_file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/eina/eina_file.c b/src/lib/eina/eina_file.c
index 98dff36..271e4ce 100644
--- a/src/lib/eina/eina_file.c
+++ b/src/lib/eina/eina_file.c
@@ -1336,7 +1336,7 @@ eina_file_map_new(Eina_File *file, Eina_File_Populate rule,
1336 if (map->map == MAP_FAILED) goto on_error; 1336 if (map->map == MAP_FAILED) goto on_error;
1337 1337
1338 eina_hash_add(file->map, &key, map); 1338 eina_hash_add(file->map, &key, map);
1339 eina_hash_direct_add(file->rmap, map->map, map); 1339 eina_hash_direct_add(file->rmap, &map->map, map);
1340 } 1340 }
1341 1341
1342 map->refcount++; 1342 map->refcount++;