projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Remove useless checks for NULL before freeing
[mesa.git]
/
src
/
gallium
/
auxiliary
/
util
/
u_draw_quad.c
diff --git
a/src/gallium/auxiliary/util/u_draw_quad.c
b/src/gallium/auxiliary/util/u_draw_quad.c
index 469c874988db84937d23682d1cc8fae31480f21c..81c4f107ea9b4a6a04b0407a2906276fa9c11797 100644
(file)
--- a/
src/gallium/auxiliary/util/u_draw_quad.c
+++ b/
src/gallium/auxiliary/util/u_draw_quad.c
@@
-151,6
+151,5
@@
out:
if (vbuf)
pipe_resource_reference(&vbuf, NULL);
- if (v)
- FREE(v);
+ FREE(v);
}