diff options
author | tegzed <tegzed@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2011-03-20 22:17:41 +0000 |
---|---|---|
committer | tegzed <tegzed@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2011-03-20 22:17:41 +0000 |
commit | aeb1f4f1fe79768c1c7aa5fc1e34d270240c2eea (patch) | |
tree | b710f5eb9ba1e5c61629fa83b3191cdd54e0911f /navit/map.c | |
parent | c02ce3cca1eae8411dc9b2de644be960302d40d4 (diff) | |
download | navit-aeb1f4f1fe79768c1c7aa5fc1e34d270240c2eea.tar.gz |
Fix:core:workaround for double freeing callback list
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@4377 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/map.c')
-rw-r--r-- | navit/map.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/navit/map.c b/navit/map.c index d8ca5e363..db3be4c33 100644 --- a/navit/map.c +++ b/navit/map.c @@ -263,8 +263,9 @@ map_destroy_do(struct map *m) { if (m->priv) m->meth.map_destroy(m->priv); - attr_list_free(m->attrs); - callback_list_destroy(m->attr_cbl); +//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); g_free(m); } |