diff options
author | Brian Paul <[email protected]> | 2009-10-01 14:51:43 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-10-01 14:51:43 -0600 |
commit | 63064cf7c3437e3ebb7ab36524f21472af7e47e9 (patch) | |
tree | d6c2b25bfff0a7e5917b5d83fdd0674c40900be7 /src/mesa/main | |
parent | 7b568614a28cb0b0fec375e79aebf51a6f210b44 (diff) |
mesa: add missing return when out of memory
Diffstat (limited to 'src/mesa/main')
-rw-r--r-- | 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 f6d4ac45957..ac6540f4a06 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); |