* 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 3ab2ff9846
commit de49189c9f
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2008-06-02 Neil Roberts <neil@o-hand.com>
* clutter/cogl/gl/cogl-context.c (cogl_destroy_context): Fix
cut-and-paste error where the wrong arrays were being freed.
2008-06-01 Emmanuele Bassi <ebassi@openedhand.com>
Merge from clutter-0-6:

View File

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