summaryrefslogtreecommitdiff
path: root/capplets/time-admin
diff options
context:
space:
mode:
authorrbuj <[email protected]>2019-08-16 13:23:07 +0200
committerVictor Kareh <[email protected]>2019-08-22 13:39:09 -0400
commitcacec3e4621a27a4348479f0484bd950dc9f1858 (patch)
tree1c97e7aee47d209fb9ca9298c2ed2a465eb04b6d /capplets/time-admin
parent0d3c3063d3cbb9563b3a2d4041355cf9d41011c6 (diff)
downloadmate-control-center-cacec3e4621a27a4348479f0484bd950dc9f1858.tar.bz2
mate-control-center-cacec3e4621a27a4348479f0484bd950dc9f1858.tar.xz
time-admin: fix memory leak
Diffstat (limited to 'capplets/time-admin')
-rw-r--r--capplets/time-admin/src/time-tool.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/capplets/time-admin/src/time-tool.c b/capplets/time-admin/src/time-tool.c
index 2fc18e95..664f6284 100644
--- a/capplets/time-admin/src/time-tool.c
+++ b/capplets/time-admin/src/time-tool.c
@@ -196,6 +196,7 @@ void SetTimeZone(GDBusProxy *proxy,const char *zone)
if(ret == NULL)
{
ErrorMessage (_("Set time zone"), error->message);
+ g_error_free (error);
}
}