summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrbuj <[email protected]>2022-01-16 10:26:02 +0100
committerraveit65 <[email protected]>2022-01-30 18:49:31 +0100
commita21b7c9050b09167ef70d2dc5686d2dbdeef232e (patch)
treeee17499c2be95885dc1c5722d249c12478238360
parent81375be326a1a2ca9198bdb119d5ba8bfabdaa1f (diff)
downloadmarco-a21b7c9050b09167ef70d2dc5686d2dbdeef232e.tar.bz2
marco-a21b7c9050b09167ef70d2dc5686d2dbdeef232e.tar.xz
theme: fix memory leak
-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);