remove unneeded conditional
authorBrian <brian.paul@tungstengraphics.com>
Tue, 1 Jan 2008 17:20:21 +0000 (10:20 -0700)
committerBrian <brian.paul@tungstengraphics.com>
Tue, 1 Jan 2008 17:20:56 +0000 (10:20 -0700)
src/mesa/main/context.c

index 2ae0e1221d6fbcbe10f2fa241126ecc4fe0846e4..c793e07b3ad3e3458a91b2d9acd58b0b4ad13b18 100644 (file)
@@ -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;
 }