gtkstyleproperty: fix small memory leak

The released value is a string array and thus g_free is not sufficient.

https://bugzilla.gnome.org/show_bug.cgi?id=655173
This commit is contained in:
Felix Riemann 2011-07-23 15:50:05 +02:00
parent 28cb6f4bb3
commit e8486fdf71

View File

@ -2008,7 +2008,7 @@ pack_font_description (GValue *value,
pango_font_description_set_variant (description, variant);
pango_font_description_set_weight (description, weight);
g_free (families);
g_strfreev (families);
g_value_take_boxed (value, description);
}