[clutter-texture] Release the temporary ref taken when setting a texture
authorNeil Roberts <neil@linux.intel.com>
Thu, 5 Feb 2009 18:26:08 +0000 (18:26 +0000)
committerNeil Roberts <neil@linux.intel.com>
Thu, 5 Feb 2009 18:26:08 +0000 (18:26 +0000)
commitee0bf5e26d73b47627f0655dd3c8a4c2377b3256
treeb24ebaeffbe06c0e670d27715d6e4fb325c53d22
parent8feb99722c9c0308f5be4ec9f78106c30c909a79
[clutter-texture] Release the temporary ref taken when setting a texture

When setting the cogl texture, the ClutterTexture takes a reference to
the Cogl handle but the material takes an additional reference when it
is set as the layer. Nothing was unrefing the temporary reference so
the textures were being leaked.
clutter/clutter-texture.c