diff options
Diffstat (limited to 'src/datetime-service.c')
-rw-r--r-- | src/datetime-service.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/datetime-service.c b/src/datetime-service.c index 7adab15..87e4c32 100644 --- a/src/datetime-service.c +++ b/src/datetime-service.c @@ -806,6 +806,9 @@ geo_create_client (GeoclueMaster * master, GeoclueMasterClient * client, gchar * g_debug("Created Geoclue client at: %s", path); geo_master = client; + + g_return_if_fail(geo_master != NULL); + g_object_ref(G_OBJECT(geo_master)); /* New client, make sure we don't have an address hanging on */ |