Mesa (mesa_7_6_branch): mesa: add missing return when out of memory
Brian Paul
brianp at kemper.freedesktop.org
Thu Oct 1 20:56:25 UTC 2009
Module: Mesa
Branch: mesa_7_6_branch
Commit: 63064cf7c3437e3ebb7ab36524f21472af7e47e9
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=63064cf7c3437e3ebb7ab36524f21472af7e47e9
Author: Brian Paul <brianp at vmware.com>
Date: Thu Oct 1 14:51:43 2009 -0600
mesa: add missing return when out of memory
---
src/mesa/main/context.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c
index f6d4ac4..ac6540f 100644
--- a/src/mesa/main/context.c
+++ b/src/mesa/main/context.c
@@ -898,6 +898,7 @@ _mesa_initialize_context(GLcontext *ctx,
_mesa_free_shared_state(ctx, ctx->Shared);
if (ctx->Exec)
_mesa_free(ctx->Exec);
+ return GL_FALSE;
}
#if FEATURE_dispatch
_mesa_init_exec_table(ctx->Exec);
More information about the mesa-commit
mailing list