From 4653c7017f6bedeaa0ae7a58a2a9cf4fb7c4a405 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Sun, 15 Jan 2012 00:11:42 +0100 Subject: [PATCH] css: Fix memleak https://bugzilla.gnome.org/show_bug.cgi?id=667910 --- gtk/gtkcssshorthandproperty.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/gtkcssshorthandproperty.c b/gtk/gtkcssshorthandproperty.c index c47b5305a..303376e98 100644 --- a/gtk/gtkcssshorthandproperty.c +++ b/gtk/gtkcssshorthandproperty.c @@ -144,7 +144,7 @@ gtk_css_shorthand_property_parse_value (GtkStyleProperty *property, } g_value_init (value, G_TYPE_VALUE_ARRAY); - g_value_set_boxed (value, array); + g_value_take_boxed (value, array); return TRUE; } -- 2.43.2