[PATCH 1/9] clock: binary: add missing unref

Felipe Contreras felipe.contreras at gmail.com
Fri Jun 14 02:40:36 CEST 2019


Signed-off-by: Felipe Contreras <felipe.contreras at gmail.com>
---
 plugins/clock/clock-binary.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/plugins/clock/clock-binary.c b/plugins/clock/clock-binary.c
index d3c5ba53..e9b2882d 100644
--- a/plugins/clock/clock-binary.c
+++ b/plugins/clock/clock-binary.c
@@ -444,6 +444,8 @@ xfce_clock_binary_draw_binary (XfceClockBinary *binary,
       /* advance offset */
       offset_x += w;
     }
+
+  g_date_time_unref (time);
 }
 
 
-- 
2.22.0.rc2.dirty



More information about the Xfce4-dev mailing list