css shadow: Fix memory leak

https://bugzilla.gnome.org/show_bug.cgi?id=706493
This commit is contained in:
Pavel Vasin 2013-08-21 14:56:21 +04:00 committed by Matthias Clasen
parent 0c19be899d
commit 1f2ed31f28

View File

@ -714,6 +714,8 @@ _gtk_css_shadow_value_paint_box (const GtkCssValue *shadow,
cairo_clip (cr);
draw_shadow (shadow, cr, &box, &clip_box, FALSE);
cairo_restore (cr);
cairo_region_destroy (remaining);
}
cairo_restore (cr);