From 6cd2e0fae9e4c4dc9a313a17d4f35f0dd8b1cbdf Mon Sep 17 00:00:00 2001 From: Kaj-Michael Lang Date: Wed, 23 Jan 2008 19:58:12 +0200 Subject: [PATCH] Call map_poi_deinit and free _gps struct --- src/mapper.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/mapper.c b/src/mapper.c index 759467f..dca977c 100644 --- a/src/mapper.c +++ b/src/mapper.c @@ -121,11 +121,13 @@ mapper_destroy(void) { config_save(); config_save_repo(); -gps_disconnect(_gps); map_download_deinit(); +map_poi_deinit(); #if defined (WITH_GST) && defined (WITH_ESPEAK) speak_deinit(); #endif +gps_disconnect(_gps); +gps_free(_gps); osm_deinit(); db_close(&_db); track_deinit(); -- 2.39.5