summaryrefslogtreecommitdiff
path: root/applets
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-12-31 21:22:49 +0100
committerraveit65 <[email protected]>2022-01-26 10:31:10 +0100
commit5c9366d95d2d7436ee488c2c3196b7b7187dc925 (patch)
treeab037c061a6958449cd7e34e4032e0cd3c326e04 /applets
parent0f40ca0d6d741f3f29ffb86595da3d20568d6381 (diff)
downloadmate-panel-5c9366d95d2d7436ee488c2c3196b7b7187dc925.tar.bz2
mate-panel-5c9366d95d2d7436ee488c2c3196b7b7187dc925.tar.xz
clock: fix memory leak
Diffstat (limited to 'applets')
-rw-r--r--applets/clock/calendar-window.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/applets/clock/calendar-window.c b/applets/clock/calendar-window.c
index 8fe2c77c..1e1248f0 100644
--- a/applets/clock/calendar-window.c
+++ b/applets/clock/calendar-window.c
@@ -403,6 +403,8 @@ calendar_window_dispose (GObject *object)
calwin = CALENDAR_WINDOW (object);
+ g_clear_pointer (&calwin->priv->prefs_path, g_free);
+
if (calwin->priv->settings)
g_object_unref (calwin->priv->settings);
calwin->priv->settings = NULL;