summaryrefslogtreecommitdiffstats
path: root/gps.c
diff options
context:
space:
mode:
Diffstat (limited to 'gps.c')
-rw-r--r--gps.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gps.c b/gps.c
index 899db81c1..494eed52d 100644
--- a/gps.c
+++ b/gps.c
@@ -187,6 +187,7 @@ OsmGpsMap *init_map(void)
osm_gps_map_layer_add(OSM_GPS_MAP(map), osd);
g_object_unref(G_OBJECT(osd));
free((void*)cachebasedir);
+ free((void*)cachedir);
return map;
}