summaryrefslogtreecommitdiff
path: root/applets/clock/clock-location.c
diff options
context:
space:
mode:
authorTomas Bzatek <[email protected]>2020-07-24 15:09:08 +0200
committerLuke from DC <[email protected]>2020-07-29 20:47:20 +0000
commitf01e028beade99865610bd27521263f6288e9030 (patch)
tree1e91e0a19709205526a074f8031fa8513aa04aa0 /applets/clock/clock-location.c
parent57e28f8e776d3255cdf9fd00098b2d498d960483 (diff)
downloadmate-panel-f01e028beade99865610bd27521263f6288e9030.tar.bz2
mate-panel-f01e028beade99865610bd27521263f6288e9030.tar.xz
clock: Fix GError double free
Let the GError ownership on the async finish method call.
Diffstat (limited to 'applets/clock/clock-location.c')
-rw-r--r--applets/clock/clock-location.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/applets/clock/clock-location.c b/applets/clock/clock-location.c
index 4c48777f..a983872c 100644
--- a/applets/clock/clock-location.c
+++ b/applets/clock/clock-location.c
@@ -531,8 +531,6 @@ make_current_cb (gpointer data, GError *error)
if (mcdata->callback)
mcdata->callback (mcdata->data, error);
- else
- g_error_free (error);
}
static void