Plug the leaking CoglProgram and CoglShader
authorNeil Roberts <neil@linux.intel.com>
Thu, 22 Jul 2010 15:58:23 +0000 (16:58 +0100)
committerNeil Roberts <neil@linux.intel.com>
Thu, 22 Jul 2010 20:51:43 +0000 (21:51 +0100)
commita639ed6593fa64c83bc4c462d9c3eac9bf543485
tree3bacc75f7737f431819385ef9feab973b1ba9e21
parentf17717717ab3266676053bc020f45b6bacdcee0f
Plug the leaking CoglProgram and CoglShader

_cogl_program_free and _cogl_shader_free never freed the struct their
structs so it would end up leaking a little bit.
clutter/cogl/cogl/driver/gl/cogl-program.c
clutter/cogl/cogl/driver/gl/cogl-shader.c
clutter/cogl/cogl/driver/gles/cogl-program.c
clutter/cogl/cogl/driver/gles/cogl-shader.c