summaryrefslogtreecommitdiff
path: root/applets/clock/set-timezone.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/set-timezone.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/set-timezone.c')
-rw-r--r--applets/clock/set-timezone.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/applets/clock/set-timezone.c b/applets/clock/set-timezone.c
index 092f1e79..55b8de99 100644
--- a/applets/clock/set-timezone.c
+++ b/applets/clock/set-timezone.c
@@ -202,6 +202,7 @@ set_time_notify (GObject *source_object,
if (data->callback)
data->callback (data->data, NULL);
}
+ free_data (data);
}
static void