[Xfce4-commits] [apps/xfce4-screensaver] 258/425: Gtk2, popsquares: fix a memory leak

noreply at xfce.org noreply at xfce.org
Mon Oct 15 01:51:45 CEST 2018


This is an automated email from the git hooks/post-receive script.

b   l   u   e   s   a   b   r   e       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository apps/xfce4-screensaver.

commit 5088db97655b97ff888cb5b485cf7c88f6e8e61f
Author: Sorokin Alexei <sor.alexei at meowr.ru>
Date:   Wed Jun 22 19:03:23 2016 +0300

    Gtk2, popsquares: fix a memory leak
---
 savers/gste-popsquares.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/savers/gste-popsquares.c b/savers/gste-popsquares.c
index 44caa48..d25bc16 100644
--- a/savers/gste-popsquares.c
+++ b/savers/gste-popsquares.c
@@ -375,6 +375,8 @@ set_colors (GtkWidget *widget,
 	bg->red   = color.red;
 	bg->green = color.green;
 	bg->blue  = color.blue;
+
+	gtk_widget_destroy (style_widget);
 }
 #endif
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list