aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2011-02-01 09:49:45 -0600
committerTed Gould <ted@gould.cx>2011-02-01 09:49:45 -0600
commite5e4415f3629352b5bc294acfec9593228d068ee (patch)
treec93ebca21836f3408898a08bac0fb808b3b3b9c5
parent5de989fb1e270fbc9381b432e49df6790f985258 (diff)
downloadayatana-indicator-datetime-e5e4415f3629352b5bc294acfec9593228d068ee.tar.gz
ayatana-indicator-datetime-e5e4415f3629352b5bc294acfec9593228d068ee.tar.bz2
ayatana-indicator-datetime-e5e4415f3629352b5bc294acfec9593228d068ee.zip
Putting the clear functions in shutdown so the objects get cleaned up nicely there as well.
-rw-r--r--src/datetime-service.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/datetime-service.c b/src/datetime-service.c
index 59308dd..04e3d6b 100644
--- a/src/datetime-service.c
+++ b/src/datetime-service.c
@@ -582,6 +582,9 @@ main (int argc, char ** argv)
mainloop = g_main_loop_new(NULL, FALSE);
g_main_loop_run(mainloop);
+ geo_address_clean();
+ geo_client_clean();
+
g_object_unref(G_OBJECT(master));
g_object_unref(G_OBJECT(dbus));
g_object_unref(G_OBJECT(service));