summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBen Widawsky <benjamin.widawsky@intel.com>2013-12-26 16:37:00 -0800
committerBen Widawsky <benjamin.widawsky@intel.com>2014-01-10 11:05:50 -0800
commit3d34fe24957576d77c88877ded22e8ab5d96ca4c (patch)
treefc5999aaaec552500b2fd11251560428619e09b9 /include
parent743372ea26ed38db3aeca4b545e867c1bc08370d (diff)
downloadlibdrm-3d34fe24957576d77c88877ded22e8ab5d96ca4c.tar.gz
libdrm-3d34fe24957576d77c88877ded22e8ab5d96ca4c.tar.bz2
libdrm-3d34fe24957576d77c88877ded22e8ab5d96ca4c.zip
intel: Handle malloc fails in context create
The previous code would just use the potentially unallocated variable, which is probably okay most of the time, but not very nice to the user of the library. Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions