From: Brian Date: Tue, 1 Jan 2008 17:20:21 +0000 (-0700) Subject: remove unneeded conditional X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a5c84de3a7c937bb8b1cca3e6f17329e7d35c20d;p=mesa.git remove unneeded conditional --- 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; }