mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-13 12:20:10 +00:00
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:
parent
28cb6f4bb3
commit
e8486fdf71
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user