summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Bzatek <[email protected]>2020-07-16 17:42:51 +0200
committerraveit65 <[email protected]>2020-07-23 13:30:35 +0200
commit3230ff1b1b7f26f6242223d391592f05fa2d6228 (patch)
tree54616df952e13efd97aab12f5c3976a2a4022e61
parent5f14b49e80d0e1195558803288a727084a4df33b (diff)
downloadmate-panel-3230ff1b1b7f26f6242223d391592f05fa2d6228.tar.bz2
mate-panel-3230ff1b1b7f26f6242223d391592f05fa2d6228.tar.xz
panel-frame: Fix leaking background-color
-rw-r--r--mate-panel/panel-frame.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mate-panel/panel-frame.c b/mate-panel/panel-frame.c
index a99a810b..11ff9c85 100644
--- a/mate-panel/panel-frame.c
+++ b/mate-panel/panel-frame.c
@@ -265,6 +265,8 @@ panel_frame_draw (GtkWidget *widget,
cairo_stroke (cr);
}
}
+
+ gdk_rgba_free (bg);
}
static gboolean panel_frame_expose(GtkWidget* widget, cairo_t* cr)