diff options
author | martin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2009-06-01 16:07:39 +0000 |
---|---|---|
committer | martin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2009-06-01 16:07:39 +0000 |
commit | d1e9d486e52470c358eeb9f2876897fdd53aba57 (patch) | |
tree | ded59d29b0abda2e20e9ae29c839d06053376b42 /navit/map/mg/tree.c | |
parent | 5cd70e21aebbab2d430a508e94e01c73f8574971 (diff) | |
download | navit-d1e9d486e52470c358eeb9f2876897fdd53aba57.tar.gz |
Add:Core:Work on housenumber search
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@2300 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/map/mg/tree.c')
-rw-r--r-- | navit/map/mg/tree.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/navit/map/mg/tree.c b/navit/map/mg/tree.c index 695b401a1..0c2a4bb19 100644 --- a/navit/map/mg/tree.c +++ b/navit/map/mg/tree.c @@ -259,5 +259,6 @@ tree_search_init(char *dirname, char *filename, struct tree_search *ts, int offs void tree_search_free(struct tree_search *ts) { - file_destroy(ts->f); + if (ts->f) + file_destroy(ts->f); } |