[cogl-texture] Fix uninitialised priv var in texture_finalize

Fix my failure to initialise the priv var which was some causing
crashes.
This commit is contained in:
Neil Roberts 2009-02-05 23:01:59 +00:00
parent a2168686b9
commit 0be6f42070

View File

@ -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)
{