summaryrefslogtreecommitdiff
path: root/src/egl/drivers/dri2/platform_x11.c
diff options
context:
space:
mode:
authorIan Romanick <ian.d.romanick@intel.com>2013-04-08 19:55:18 -0700
committerIan Romanick <ian.d.romanick@intel.com>2013-04-12 16:24:48 -0700
commit2cc0b3294ae0b1181bdcbca91fd68ebab374dbb2 (patch)
treefcecb960bd8a884b23e4f5770c1b6313cca699a3 /src/egl/drivers/dri2/platform_x11.c
parentee55b845d2e59f6437214def210f1791ff953445 (diff)
mesa: NULL check the pointer before trying to dereference it
Duh. Fixes issues identified by Klocwork analysis: Pointer 'table' returned from call to function 'calloc' at line 115 may be NULL and will be dereferenced at line 117. and Suspicious dereference of pointer 'table' before NULL check at line 119. NOTE: This is a candidate for the stable branches. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Diffstat (limited to 'src/egl/drivers/dri2/platform_x11.c')
0 files changed, 0 insertions, 0 deletions