csscomputedvalues: plug a refleak

_gtk_css_keyframes_compute() returns a reference to a GtkCssKeyframes,
and _gtk_css_animation_new() takes another reference.
This commit is contained in:
Cosimo Cecchi 2012-10-16 11:49:57 -04:00
parent d08dfbd390
commit 3b7e390484

View File

@ -499,6 +499,7 @@ gtk_css_computed_values_create_css_animations (GtkCssComputedValues *values,
_gtk_css_play_state_value_get (_gtk_css_array_value_get_nth (play_states, i)),
_gtk_css_fill_mode_value_get (_gtk_css_array_value_get_nth (fill_modes, i)),
_gtk_css_number_value_get (_gtk_css_array_value_get_nth (iteration_counts, i), 100));
_gtk_css_keyframes_unref (keyframes);
}
values->animations = g_slist_prepend (values->animations, animation);
}