summaryrefslogtreecommitdiff
path: root/src/ui
diff options
context:
space:
mode:
authorrbuj <[email protected]>2022-01-16 10:26:02 +0100
committerraveit65 <[email protected]>2022-07-08 19:12:18 +0200
commitd173ab019c6928cfdefa6355ab0aca61f969804f (patch)
tree9080e7bb0be09e8a607cb1ab911a89a935cce51c /src/ui
parent9dcaf0bfee7c656a0b6fd6321280d0190229cfbf (diff)
downloadmarco-d173ab019c6928cfdefa6355ab0aca61f969804f.tar.bz2
marco-d173ab019c6928cfdefa6355ab0aca61f969804f.tar.xz
theme: fix memory leak
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/theme.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/ui/theme.c b/src/ui/theme.c
index bd51673e..c117eeb8 100644
--- a/src/ui/theme.c
+++ b/src/ui/theme.c
@@ -6241,7 +6241,6 @@ meta_gtk_widget_get_font_desc (GtkWidget *widget,
GtkStyleContext *style = gtk_widget_get_style_context (widget);
GtkStateFlags state = gtk_widget_get_state_flags (widget);
gtk_style_context_get(style, state, GTK_STYLE_PROPERTY_FONT, &font_desc, NULL);
- font_desc = pango_font_description_copy (font_desc);
if (override)
pango_font_description_merge (font_desc, override, TRUE);