* clutter/cogl/gl/cogl-context.c (cogl_destroy_context): Fix

cut-and-paste error where the wrong arrays were being freed.
This commit is contained in:
Neil Roberts 2008-06-02 09:35:43 +00:00
parent 559495caf7
commit 46be48f8f6

View File

@ -111,9 +111,9 @@ cogl_destroy_context ()
if (_context->texture_handles) if (_context->texture_handles)
g_array_free (_context->texture_handles, TRUE); g_array_free (_context->texture_handles, TRUE);
if (_context->fbo_handles) if (_context->fbo_handles)
g_array_free (_context->texture_handles, TRUE); g_array_free (_context->fbo_handles, TRUE);
if (_context->shader_handles) if (_context->shader_handles)
g_array_free (_context->texture_handles, TRUE); g_array_free (_context->shader_handles, TRUE);
if (_context->program_handles) if (_context->program_handles)
g_array_free (_context->program_handles, TRUE); g_array_free (_context->program_handles, TRUE);