summaryrefslogtreecommitdiff
path: root/navit/map.c
diff options
context:
space:
mode:
authortegzed <tegzed@ffa7fe5e-494d-0410-b361-a75ebd5db220>2011-03-20 22:45:45 +0000
committertegzed <tegzed@ffa7fe5e-494d-0410-b361-a75ebd5db220>2011-03-20 22:45:45 +0000
commit3b4fb66ee98b41e737a6b069b0d9d45096a7d28b (patch)
treed58f819c6b4c9bb72601f265e089b16e843cac37 /navit/map.c
parentaeb1f4f1fe79768c1c7aa5fc1e34d270240c2eea (diff)
downloadnavit-3b4fb66ee98b41e737a6b069b0d9d45096a7d28b.tar.gz
Fix:core:remove workaround for callback list destruction and pass new callback instance to each map in the mapset to avoid callback list free problem
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@4378 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/map.c')
-rw-r--r--navit/map.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/navit/map.c b/navit/map.c
index db3be4c33..d8ca5e363 100644
--- a/navit/map.c
+++ b/navit/map.c
@@ -263,9 +263,8 @@ map_destroy_do(struct map *m)
{
if (m->priv)
m->meth.map_destroy(m->priv);
-//FIXME below two lines are commented out as a temporary workaround for the map destruction problem
-// attr_list_free(m->attrs);
-// callback_list_destroy(m->attr_cbl);
+ attr_list_free(m->attrs);
+ callback_list_destroy(m->attr_cbl);
g_free(m);
}