summaryrefslogtreecommitdiff
path: root/applets/clock/set-timezone.c
diff options
context:
space:
mode:
authorTomas Bzatek <[email protected]>2020-07-24 15:09:08 +0200
committerPablo Barciela <[email protected]>2020-08-03 13:46:35 +0200
commite9163da19693a6268a83d25ffd4472e8e0590d7d (patch)
tree8f65746f028feddca764970aa7be00a2c586abe7 /applets/clock/set-timezone.c
parentf91d7212976bf5a5a71cdb0c5cdf107083c17767 (diff)
downloadmate-panel-e9163da19693a6268a83d25ffd4472e8e0590d7d.tar.bz2
mate-panel-e9163da19693a6268a83d25ffd4472e8e0590d7d.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 109ca2ad..844cceec 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