summaryrefslogtreecommitdiff
path: root/navit/search.c
diff options
context:
space:
mode:
authorsleske <sleske@ffa7fe5e-494d-0410-b361-a75ebd5db220>2013-08-26 20:34:24 +0000
committersleske <sleske@ffa7fe5e-494d-0410-b361-a75ebd5db220>2013-08-26 20:34:24 +0000
commite10fbea2a4b017dcbffc7625494b25cd6755cd5a (patch)
treedb12e45a28df8d8ea50b07671d81f7fad6c16f5c /navit/search.c
parent0a8411710a699f1be4b65fe6ce0723877c0fc41e (diff)
downloadnavit-e10fbea2a4b017dcbffc7625494b25cd6755cd5a.tar.gz
Refactor:core:Add comment about possible memleak in search.
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5608 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/search.c')
-rw-r--r--navit/search.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/navit/search.c b/navit/search.c
index 545c2fedb..5529973da 100644
--- a/navit/search.c
+++ b/navit/search.c
@@ -322,6 +322,8 @@ search_by_address(struct search_list *this_, char *addr)
tmp=g_list_next(tmp);
}
g_list_free(phrases);
+ // TODO: Looks like we should g_free(str) here. But this is
+ // currently dead code, so no way to test it.
}
static void