projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mesa: Move _mesa_all_buffers_are_unmapped to arrayobj.c.
[mesa.git]
/
src
/
mesa
/
main
/
readpix.c
diff --git
a/src/mesa/main/readpix.c
b/src/mesa/main/readpix.c
index 882d863c1c7c658ea78d149e4d7901891dea65d7..1cb06c78a5a8fea8147bf2141235a83531101a9d 100644
(file)
--- a/
src/mesa/main/readpix.c
+++ b/
src/mesa/main/readpix.c
@@
-608,8
+608,7
@@
read_rgba_pixels( struct gl_context *ctx,
dst, format, type);
}
- if (rgba)
- free(rgba);
+ free(rgba);
done_swap:
/* Handle byte swapping if required */