projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f0676cc
)
remove unneeded conditional
author
Brian
<brian.paul@tungstengraphics.com>
Tue, 1 Jan 2008 17:20:21 +0000
(10:20 -0700)
committer
Brian
<brian.paul@tungstengraphics.com>
Tue, 1 Jan 2008 17:20:56 +0000
(10:20 -0700)
src/mesa/main/context.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/context.c
b/src/mesa/main/context.c
index 2ae0e1221d6fbcbe10f2fa241126ecc4fe0846e4..c793e07b3ad3e3458a91b2d9acd58b0b4ad13b18 100644
(file)
--- 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;
}