st/mesa: fix potential null deref if no shader is passed in
authorIlia Mirkin <imirkin@alum.mit.edu>
Wed, 3 Feb 2016 18:51:19 +0000 (13:51 -0500)
committerIlia Mirkin <imirkin@alum.mit.edu>
Wed, 3 Feb 2016 23:40:13 +0000 (18:40 -0500)
commit9284fd9c0d1855b1236d9630f3888f6320d9d7a8
treeaadfc221b688e41738cfabf1c2d17886475f4b5f
parent5ac7f0433b17acc6587b87ce25adb6975c04eb27
st/mesa: fix potential null deref if no shader is passed in

Spotted by Coverity

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
src/mesa/state_tracker/st_atom_storagebuf.c