summaryrefslogtreecommitdiff
path: root/applets/clock
diff options
context:
space:
mode:
authorMonsta <[email protected]>2014-11-06 13:26:30 +0300
committerMonsta <[email protected]>2014-11-23 23:21:35 +0300
commitd37ec4b473b4191f871a02fbb04d915a222ae5ba (patch)
treec1e1419b29bed10dd1dcd405787d0b5f3c4ee35e /applets/clock
parent9bdf26a667fdb91c2aaa326b946e058677d97a0d (diff)
downloadmate-panel-d37ec4b473b4191f871a02fbb04d915a222ae5ba.tar.bz2
mate-panel-d37ec4b473b4191f871a02fbb04d915a222ae5ba.tar.xz
don't leak memory
Diffstat (limited to 'applets/clock')
-rw-r--r--applets/clock/clock-face.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/applets/clock/clock-face.c b/applets/clock/clock-face.c
index dfe1e224..77c5de4b 100644
--- a/applets/clock/clock-face.c
+++ b/applets/clock/clock-face.c
@@ -545,6 +545,7 @@ clock_face_load_face (ClockFace *this, gint width, gint height)
priv->face_pixbuf = g_hash_table_lookup (pixbuf_cache, cache_name);
if (priv->face_pixbuf) {
g_object_ref (priv->face_pixbuf);
+ g_free (cache_name);
return;
}