aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/mesa/main/context.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2013-11-12 11:24:58 +0100
committermarha <marha@users.sourceforge.net>2013-11-12 11:24:58 +0100
commit3893ee9f6b12465239b63d08763bd9ba0bd329e5 (patch)
tree42173a04f11aab2cf10657179545725a87834b00 /mesalib/src/mesa/main/context.c
parent698a69fedac48209ff538d76e9aed935814a1652 (diff)
downloadvcxsrv-3893ee9f6b12465239b63d08763bd9ba0bd329e5.tar.gz
vcxsrv-3893ee9f6b12465239b63d08763bd9ba0bd329e5.tar.bz2
vcxsrv-3893ee9f6b12465239b63d08763bd9ba0bd329e5.zip
Solved problem of freeing invalid pointer
Diffstat (limited to 'mesalib/src/mesa/main/context.c')
-rw-r--r--mesalib/src/mesa/main/context.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mesalib/src/mesa/main/context.c b/mesalib/src/mesa/main/context.c
index d005d2370..75a3cbab1 100644
--- a/mesalib/src/mesa/main/context.c
+++ b/mesalib/src/mesa/main/context.c
@@ -1102,7 +1102,7 @@ _mesa_initialize_context(struct gl_context *ctx,
fail:
_mesa_reference_shared_state(ctx, &ctx->Shared, NULL);
free(ctx->BeginEnd);
- free(ctx->Exec);
+ free(ctx->OutsideBeginEnd);
free(ctx->Save);
return GL_FALSE;
}
@@ -1202,7 +1202,7 @@ _mesa_free_context_data( struct gl_context *ctx )
/* free dispatch tables */
free(ctx->BeginEnd);
- free(ctx->Exec);
+ free(ctx->OutsideBeginEnd);
free(ctx->Save);
/* Shared context state (display lists, textures, etc) */