Evas (wayland_egl): Set resource_list to NULL after we free it. Fix

minor formatting issue.



SVN revision: 74348
This commit is contained in:
Christopher Michael 2012-07-24 09:19:23 +00:00
parent 16335de91e
commit 4b5e15a133
1 changed files with 2 additions and 1 deletions

View File

@ -587,6 +587,7 @@ _destroy_internal_glue_resources(void *data)
free(rsc);
}
eina_list_free(resource_list);
resource_list = NULL;
LKU(resource_lock);
// Destroy TLS
@ -2284,7 +2285,7 @@ eng_gl_context_destroy(void *data, void *context)
// 2. Delete the FBO
if (ctx->context_fbo)
glDeleteFramebuffers(1, &ctx->context_fbo);
glDeleteFramebuffers(1, &ctx->context_fbo);
// 3. Destroy the Context
eglDestroyContext(re->win->egl_disp, ctx->context);