From 963a5942673e3a547d6e08e1ef54693ad02e3877 Mon Sep 17 00:00:00 2001 From: Ben Wiederhake Date: Sun, 5 Apr 2020 23:25:45 +0200 Subject: [PATCH] Fix memory leak in panel plugin wrapper --- wrapper/wrapper-plug.c | 1 + 1 file changed, 1 insertion(+) diff --git a/wrapper/wrapper-plug.c b/wrapper/wrapper-plug.c index db973bd4..90c8d6af 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 */ -- 2.25.1