* Fixed memory leak in Generic and LightRenderer.