diff --git a/clutter/clutter-texture.c b/clutter/clutter-texture.c index b6b58fc6e..eff44bbdc 100644 --- a/clutter/clutter-texture.c +++ b/clutter/clutter-texture.c @@ -693,7 +693,7 @@ static void clutter_texture_finalize (GObject *object) { ClutterTexture *texture = CLUTTER_TEXTURE (object); - ClutterTexturePrivate *priv; + ClutterTexturePrivate *priv = texture->priv; if (priv->material != COGL_INVALID_HANDLE) {