[gnome-maps] maps-contact: Fix leak of geocoded place
- From: Jonas Danielsson <jonasdn src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-maps] maps-contact: Fix leak of geocoded place
- Date: Tue, 24 Feb 2015 19:19:01 +0000 (UTC)
commit b6e16c1b14fc6d83c7f111a455834727b020cbd2
Author: Jonas Danielsson <jonas threetimestwo org>
Date: Tue Feb 24 20:18:16 2015 +0100
maps-contact: Fix leak of geocoded place
lib/maps-contact.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/lib/maps-contact.c b/lib/maps-contact.c
index 237c0b8..6a5c4a6 100644
--- a/lib/maps-contact.c
+++ b/lib/maps-contact.c
@@ -288,7 +288,7 @@ on_geocode_search_async (GeocodeForward *forward,
else
geocode_place_set_street (data->place, geocode_place_get_street (place));
- g_list_free (places);
+ g_list_free_full(places, g_object_unref);
}
contact->priv->geocode_counter++;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]