summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Kim <justin.kim@collabora.com>2016-05-25 15:18:15 +0900
committerZeeshan Ali (Khattak) <zeeshanak@gnome.org>2016-05-25 14:27:37 +0100
commit88f3ade6f13d9822c03b1bf1636aa77ae7534080 (patch)
treebefa000eeae48c559b52e334a032714d4fc18a97
parent4c011afc5b1516a7e5d9631fca06975f6f48d50d (diff)
downloadgeoclue-88f3ade6f13d9822c03b1bf1636aa77ae7534080.tar.gz
demo: Remove unnecessary g_variant_unref call
It's not required to unref for the return of gclue_location_get_timestamp. https://bugs.freedesktop.org/show_bug.cgi?id=96178
-rw-r--r--demo/where-am-i.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/demo/where-am-i.c b/demo/where-am-i.c
index f9c847d..600641f 100644
--- a/demo/where-am-i.c
+++ b/demo/where-am-i.c
@@ -105,7 +105,6 @@ print_location (GClueSimple *simple)
gchar *str;
g_variant_get (timestamp, "(tt)", &tv.tv_sec, &tv.tv_usec);
- g_variant_unref (timestamp);
date_time = g_date_time_new_from_timeval_local (&tv);
str = g_date_time_format