aboutsummaryrefslogtreecommitdiff
path: root/libmm-glib/mm-location-3gpp.c
diff options
context:
space:
mode:
Diffstat (limited to 'libmm-glib/mm-location-3gpp.c')
-rw-r--r--libmm-glib/mm-location-3gpp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmm-glib/mm-location-3gpp.c b/libmm-glib/mm-location-3gpp.c
index bea3913e..c23aeec5 100644
--- a/libmm-glib/mm-location-3gpp.c
+++ b/libmm-glib/mm-location-3gpp.c
@@ -291,7 +291,7 @@ mm_location_3gpp_get_string_variant (MMLocation3gpp *self)
self->priv->cell_id,
self->priv->tracking_area_code);
- variant = g_variant_new_string (str);
+ variant = g_variant_ref_sink (g_variant_new_string (str));
g_free (str);
}