diff --git a/gtk/gtkcssprovider.c b/gtk/gtkcssprovider.c index e1b9b33bcd..2893521939 100644 --- a/gtk/gtkcssprovider.c +++ b/gtk/gtkcssprovider.c @@ -1092,6 +1092,7 @@ gtk_css_ruleset_add (GtkCssRuleset *ruleset, gtk_css_ruleset_add (ruleset, child, value); } g_free (parameters); + property_value_free (value); return; } diff --git a/gtk/gtkstyleproperty.c b/gtk/gtkstyleproperty.c index 65cd58b6ae..b2fa41fffb 100644 --- a/gtk/gtkstyleproperty.c +++ b/gtk/gtkstyleproperty.c @@ -1187,8 +1187,6 @@ unpack_border (const GValue *value, g_value_init (¶meter[3].value, G_TYPE_INT); g_value_set_int (¶meter[3].value, border->right); - gtk_border_free (border); - *n_params = 4; return parameter; }