aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2013-06-14 15:59:13 -0500
committerCharles Kerr <charles.kerr@canonical.com>2013-06-14 15:59:13 -0500
commit02de1c63c25e9b978f32ee1a1f1969f48ed62c18 (patch)
treeef09b0ccaa9e5d636db40bf57bb58d8aaa039a2a
parentc0a3ba1cb8c6ebf8b353a821e5fe728ac885e0a1 (diff)
downloadayatana-indicator-datetime-02de1c63c25e9b978f32ee1a1f1969f48ed62c18.tar.gz
ayatana-indicator-datetime-02de1c63c25e9b978f32ee1a1f1969f48ed62c18.tar.bz2
ayatana-indicator-datetime-02de1c63c25e9b978f32ee1a1f1969f48ed62c18.zip
in geoclue's async callback functions, the caller owns the GErrors, we shouldn't free them.
-rw-r--r--src/timezone-geoclue.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/timezone-geoclue.c b/src/timezone-geoclue.c
index 08f272d..239ac50 100644
--- a/src/timezone-geoclue.c
+++ b/src/timezone-geoclue.c
@@ -68,7 +68,6 @@ on_address_changed (GeoclueAddress * address G_GNUC_UNUSED,
if (error != NULL)
{
g_warning ("%s Unable to get timezone from GeoClue: %s", G_STRFUNC, error->message);
- g_error_free (error);
}
else
{
@@ -87,7 +86,6 @@ on_address_created (GeoclueMasterClient * master G_GNUC_UNUSED,
if (error != NULL)
{
g_warning ("%s Unable to get timezone from GeoClue: %s", G_STRFUNC, error->message);
- g_error_free (error);
}
else
{
@@ -109,7 +107,6 @@ on_requirements_set (GeoclueMasterClient * master G_GNUC_UNUSED,
if (error != NULL)
{
g_warning ("%s Unable to get timezone from GeoClue: %s", G_STRFUNC, error->message);
- g_error_free (error);
}
}
@@ -125,7 +122,6 @@ on_client_created (GeoclueMaster * master G_GNUC_UNUSED,
if (error != NULL)
{
g_warning ("%s Unable to get timezone from GeoClue: %s", G_STRFUNC, error->message);
- g_error_free (error);
}
else
{