summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/context.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2003-07-18 15:22:16 +0000
committerBrian Paul <[email protected]>2003-07-18 15:22:16 +0000
commit702ca20bf08be7a4007defc5d91094e8b7d2ef8e (patch)
tree9b70072adcc1851dc412412c12fb90359121e665 /src/mesa/main/context.c
parentc19cbb58cd2862393d67b62a5fc523b6fa1ac9a6 (diff)
Fix up some loose ends from the last big check-in.
Diffstat (limited to 'src/mesa/main/context.c')
-rw-r--r--src/mesa/main/context.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c
index adcdce09cd3..a8352bbe2f4 100644
--- a/src/mesa/main/context.c
+++ b/src/mesa/main/context.c
@@ -1195,7 +1195,6 @@ _mesa_initialize_context( GLcontext *ctx,
if (!init_attrib_groups( ctx )) {
free_shared_state(ctx, ctx->Shared);
- fprintf(stderr, "%s: failed to init attrib groups\n", __FUNCTION__);
return GL_FALSE;
}
@@ -1313,7 +1312,6 @@ _mesa_initialize_context( GLcontext *ctx,
#endif
- fprintf(stderr, "%s: succeded\n", __FUNCTION__);
return GL_TRUE;
}
@@ -1398,7 +1396,8 @@ _mesa_free_context_data( GLcontext *ctx )
free_shared_state( ctx, ctx->Shared );
}
- _mesa_extensions_dtr(ctx);
+ if (ctx->Extensions.String)
+ FREE((void *) ctx->Extensions.String);
FREE(ctx->Exec);
FREE(ctx->Save);