diff options
author | mdankov <mdankov@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2013-02-20 21:17:49 +0000 |
---|---|---|
committer | mdankov <mdankov@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2013-02-20 21:17:49 +0000 |
commit | 43bb0d7a67b3baea1a82f0d4b6ebce53b518da77 (patch) | |
tree | 93f63b36ef90b622541cafc94c6efc0b52418413 /navit/gui | |
parent | feb56f57ba0d79a6f610c77efd7aebd9e14b2eea (diff) | |
download | navit-43bb0d7a67b3baea1a82f0d4b6ebce53b518da77.tar.gz |
Fix:gui_internal:Fix regression of svn5341, include item labels in filtered POI list.
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5388 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/gui')
-rw-r--r-- | navit/gui/internal/gui_internal_poi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/navit/gui/internal/gui_internal_poi.c b/navit/gui/internal/gui_internal_poi.c index 7f06a41ec..636087298 100644 --- a/navit/gui/internal/gui_internal_poi.c +++ b/navit/gui/internal/gui_internal_poi.c @@ -595,7 +595,7 @@ gui_internal_cmd_pois(struct gui_priv *this, struct widget *wm, void *data) struct item_data *data; struct attr attr; char *label; - + item_attr_rewind(item); if (item->type==type_house_number) { label=gui_internal_compose_item_address_string(item); } else if (item_attr_get(item, attr_label, &attr)) { @@ -674,7 +674,7 @@ gui_internal_cmd_pois(struct gui_priv *this, struct widget *wm, void *data) gui_internal_widget_append(row,wi); row->datai=data->dist; gui_internal_widget_prepend(wtable,row); - free(data->label); + g_free(data->label); } fh_deleteheap(fh); |