aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy
diff options
context:
space:
mode:
Diffstat (limited to 'libempathy')
-rw-r--r--libempathy/empathy-contact.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libempathy/empathy-contact.c b/libempathy/empathy-contact.c
index 8cca70944..d0628a490 100644
--- a/libempathy/empathy-contact.c
+++ b/libempathy/empathy-contact.c
@@ -1645,6 +1645,8 @@ update_geocode (EmpathyContact *contact)
return;
geocode = geocode_object_new_for_params (location);
+ if (geocode == NULL)
+ return;
geocode_object_resolve_async (geocode, NULL, geocode_cb,
g_object_ref (contact));