From 46be48f8f6c82ee0704fda02567dafab3dc893c0 Mon Sep 17 00:00:00 2001 From: Neil Roberts Date: Mon, 2 Jun 2008 09:35:43 +0000 Subject: [PATCH] * clutter/cogl/gl/cogl-context.c (cogl_destroy_context): Fix cut-and-paste error where the wrong arrays were being freed. --- gl/cogl-context.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gl/cogl-context.c b/gl/cogl-context.c index ce5b792c9..d3832178f 100644 --- a/gl/cogl-context.c +++ b/gl/cogl-context.c @@ -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);