widget: Unref previous transform

This commit is contained in:
Timm Bäder 2019-07-06 10:26:11 +02:00
parent 1459ca2c26
commit 449c96ffb3

View File

@ -4468,6 +4468,7 @@ gtk_widget_allocate (GtkWidget *widget,
if (adjusted.x || adjusted.y)
transform = gsk_transform_translate (transform, &GRAPHENE_POINT_INIT (adjusted.x, adjusted.y));
gsk_transform_unref (priv->transform);
priv->transform = transform;
if (priv->surface_transform_data)