aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/main/context.c
diff options
context:
space:
mode:
authorBrian <[email protected]>2008-01-01 10:20:21 -0700
committerBrian <[email protected]>2008-01-01 10:20:56 -0700
commita5c84de3a7c937bb8b1cca3e6f17329e7d35c20d (patch)
tree56a0af62f7f8c099d647fa0db82bbf426ab87eab /src/mesa/main/context.c
parentf0676cc4223fe05d84cee9d16f1094a7bfa181d4 (diff)
remove unneeded conditional
Diffstat (limited to 'src/mesa/main/context.c')
-rw-r--r--src/mesa/main/context.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c
index 2ae0e1221d6..c793e07b3ad 100644
--- a/src/mesa/main/context.c
+++ b/src/mesa/main/context.c
@@ -548,8 +548,9 @@ cleanup:
(*ctx->Driver.DeleteTexture)(ctx, ss->Default1DArray);
if (ss->Default2DArray)
(*ctx->Driver.DeleteTexture)(ctx, ss->Default2DArray);
- if (ss)
- _mesa_free(ss);
+
+ _mesa_free(ss);
+
return GL_FALSE;
}