diff options
author | Matthias Clasen <mclasen@redhat.com> | 2020-02-27 07:47:37 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2020-02-27 14:30:58 -0500 |
commit | 527a8048b6599990f53e0b29f501aa7ae5afc8f7 (patch) | |
tree | 7e0d43830f0a4b4cdbc98b9b2d2d92624a0414ae /gtk/gtkcssfontfeaturesvalue.c | |
parent | 0c1f93cd7cb31ead600ee35a37ad932d6f7c674d (diff) | |
download | gtk+-527a8048b6599990f53e0b29f501aa7ae5afc8f7.tar.gz |
Avoid a crash in css font features values
Diffstat (limited to 'gtk/gtkcssfontfeaturesvalue.c')
-rw-r--r-- | gtk/gtkcssfontfeaturesvalue.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gtk/gtkcssfontfeaturesvalue.c b/gtk/gtkcssfontfeaturesvalue.c index 9e1b0ad267..c5f79eff89 100644 --- a/gtk/gtkcssfontfeaturesvalue.c +++ b/gtk/gtkcssfontfeaturesvalue.c @@ -170,9 +170,7 @@ gtk_css_font_features_value_new_empty (void) GtkCssValue *result; result = _gtk_css_value_new (GtkCssValue, >K_CSS_VALUE_FONT_FEATURES); - result->features = g_hash_table_new_full (g_str_hash, g_str_equal, - g_free, - (GDestroyNotify) _gtk_css_value_unref); + result->features = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, NULL); result->is_computed = TRUE; return result; |