Don't cast the return value of malloc/realloc
authorMatt Turner <mattst88@gmail.com>
Mon, 22 Sep 2014 04:24:01 +0000 (21:24 -0700)
committerMatt Turner <mattst88@gmail.com>
Tue, 9 Dec 2014 01:02:19 +0000 (17:02 -0800)
commit8af4aaf351313f9d4692697bf28d3c3f84e01ca4
tree3d7fdabf8fc729efef9d011ac583acd0b7ae8e3d
parentf0a8bcd84e50468a703a0ac366a4e067610df30c
Don't cast the return value of malloc/realloc

See commit 2b7a972e for the Coccinelle script.

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/gallium/state_trackers/glx/xlib/glx_api.c
src/gallium/state_trackers/glx/xlib/glx_usefont.c
src/gallium/state_trackers/glx/xlib/xm_api.c
src/gallium/state_trackers/wgl/stw_tls.c
src/mesa/drivers/x11/fakeglx.c
src/mesa/drivers/x11/xm_api.c
src/mesa/main/imports.c
src/mesa/main/objectlabel.c
src/mesa/main/shaderapi.c
src/mesa/program/prog_instruction.c
src/mesa/program/prog_parameter.c