forked from AuroraMiddleware/gtk
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