mesa/src/glx
Matt Turner 2b7a972e3f Don't cast the return value of malloc/realloc
This patch has been generated by the following Coccinelle semantic
patch:

// Don't cast the return value of malloc/realloc.
//
// Casting the return value of malloc/realloc only stands to hide
// errors.

@@
type T;
expression E1, E2;
@@
- (T)
(
_mesa_align_calloc(E1, E2)
|
_mesa_align_malloc(E1, E2)
|
calloc(E1, E2)
|
malloc(E1)
|
realloc(E1, E2)
)
2012-09-05 22:28:50 -07:00
..
apple Remove Xcalloc/Xmalloc/Xfree calls 2012-09-05 22:28:49 -07:00
tests glx: Don't rely on struct _glapi_table 2012-08-08 10:06:26 -07:00
.gitignore mesa: Remove the generated glapi from source control, and just build it. 2012-05-29 11:51:57 -07:00
applegl_glx.c Remove Xcalloc/Xmalloc/Xfree calls 2012-09-05 22:28:49 -07:00
clientattrib.c Don't cast the return value of malloc/realloc 2012-09-05 22:28:50 -07:00
clientinfo.c Remove Xcalloc/Xmalloc/Xfree calls 2012-09-05 22:28:49 -07:00
compsize.c Have __glImageSize handle format GL_DEPTH_STENCIL_NV the same way as the server does 2012-02-06 23:00:44 +00:00
create_context.c mesa: Require current libxcb. 2012-07-12 12:29:12 -07:00
dri2.c Remove Xcalloc/Xmalloc/Xfree calls 2012-09-05 22:28:49 -07:00
dri2.h
dri2_glx.c Remove Xcalloc/Xmalloc/Xfree calls 2012-09-05 22:28:49 -07:00
dri_common.c Remove Xcalloc/Xmalloc/Xfree calls 2012-09-05 22:28:49 -07:00
dri_common.h glx/dri2: Add support for GLX_ARB_create_context_robustness 2012-07-11 08:54:50 -07:00
dri_glx.c Remove Xcalloc/Xmalloc/Xfree calls 2012-09-05 22:28:49 -07:00
drisw_glx.c Remove Xcalloc/Xmalloc/Xfree calls 2012-09-05 22:28:49 -07:00
eval.c
glx_error.c glx: Deliver an xlib style error to the application from an XCB error 2011-12-23 08:40:30 -08:00
glx_error.h glx: Deliver an xlib style error to the application from an XCB error 2011-12-23 08:40:30 -08:00
glx_pbuffer.c Don't cast the return value of malloc/realloc 2012-09-05 22:28:50 -07:00
glx_query.c Don't cast the return value of malloc/realloc 2012-09-05 22:28:50 -07:00
glxclient.h Use the correct macro _WIN32 for Windows. 2012-09-05 22:14:32 -07:00
glxcmds.c Don't cast the return value of malloc/realloc 2012-09-05 22:28:50 -07:00
glxconfig.c Don't cast the return value of malloc/realloc 2012-09-05 22:28:50 -07:00
glxconfig.h glx/dri: add initial dri interface for GLX_EXT_framebuffer_sRGB. 2011-03-06 20:06:42 +10:00
glxcurrent.c glx: Fix compile. 2011-06-20 17:19:00 -07:00
glxext.c Remove Xcalloc/Xmalloc/Xfree calls 2012-09-05 22:28:49 -07:00
glxextensions.c Remove Xcalloc/Xmalloc/Xfree calls 2012-09-05 22:28:49 -07:00
glxextensions.h glx/dri2: Add support for GLX_ARB_create_context_robustness 2012-07-11 08:54:50 -07:00
glxhash.c
glxhash.h
indirect_glx.c Don't cast the return value of malloc/realloc 2012-09-05 22:28:50 -07:00
indirect_init.h
indirect_texture_compression.c
indirect_transpose_matrix.c
indirect_vertex_array.c
indirect_vertex_array.h
indirect_vertex_array_priv.h
indirect_vertex_program.c
indirect_window_pos.c
Makefile.am build: Clean glx Makefile.am 2012-08-22 11:08:06 -07:00
packrender.h
packsingle.h
pixel.c
pixelstore.c
render2.c Don't cast the return value of malloc/realloc 2012-09-05 22:28:50 -07:00
renderpix.c Don't cast the return value of malloc/realloc 2012-09-05 22:28:50 -07:00
SConscript scons: Also require recent XCB. 2012-07-12 21:13:10 +01:00
single2.c Remove Xcalloc/Xmalloc/Xfree calls 2012-09-05 22:28:49 -07:00
singlepix.c Don't cast the return value of malloc/realloc 2012-09-05 22:28:50 -07:00
vertarr.c
XF86dri.c Don't cast the return value of malloc/realloc 2012-09-05 22:28:50 -07:00
xf86dri.h
xf86dristr.h
xfont.c Don't cast the return value of malloc/realloc 2012-09-05 22:28:50 -07:00