From: Brian Paul Date: Thu, 1 Oct 2009 20:51:43 +0000 (-0600) Subject: mesa: add missing return when out of memory X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=63064cf7c3437e3ebb7ab36524f21472af7e47e9;p=mesa.git mesa: add missing return when out of memory --- 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);