diff options
author | Samuel Pitoiset <[email protected]> | 2016-02-09 11:40:08 +0100 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2016-02-10 18:26:20 +0100 |
commit | 5e8db898fd53b7622e21616f0ff27d985d7be758 (patch) | |
tree | 91c8d05e9d7b2006e8e22b2530e853eca2500540 /src/mesa/state_tracker/st_program.h | |
parent | e86ba7844fb1acd5f2d48558d0b8bb449e785ff8 (diff) |
st/mesa: check ureg_create() retval in create_pbo_upload_vs()
This avoids a possible NULL dereference because ureg_create() might
return a NULL pointer.
Spotted by coverity.
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker/st_program.h')
0 files changed, 0 insertions, 0 deletions