[Xfce4-commits] [xfce/xfce4-panel] 01/01: Fix memory leak in panel plugin wrapper (Bug #16640)

noreply at xfce.org noreply at xfce.org
Mon Apr 6 00:21:44 CEST 2020


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

a   n   d   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 xfce/xfce4-panel.

commit 62c3c125dda4f6b4148be9df3ece281b54ac3779
Author: Ben Wiederhake <BenWiederhake.GitHub at gmx.de>
Date:   Sun Apr 5 23:25:45 2020 +0200

    Fix memory leak in panel plugin wrapper (Bug #16640)
---
 wrapper/wrapper-plug.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/wrapper/wrapper-plug.c b/wrapper/wrapper-plug.c
index db973bd..90c8d6a 100644
--- a/wrapper/wrapper-plug.c
+++ b/wrapper/wrapper-plug.c
@@ -191,6 +191,7 @@ wrapper_plug_draw (GtkWidget *widget,
                                  GTK_STYLE_PROPERTY_BACKGROUND_COLOR,
                                  &rgba, NULL);
           gdk_cairo_set_source_rgba (cr, rgba);
+          gdk_rgba_free (rgba);
         }
 
       /* draw the background color */

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


More information about the Xfce4-commits mailing list