From d37ec4b473b4191f871a02fbb04d915a222ae5ba Mon Sep 17 00:00:00 2001 From: Monsta Date: Thu, 6 Nov 2014 13:26:30 +0300 Subject: don't leak memory --- applets/clock/clock-face.c | 1 + 1 file changed, 1 insertion(+) (limited to 'applets/clock') 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; } -- cgit v1.2.1