st/nine: Prevent possible crash
authorPatrick Rudolph <siro@das-labor.org>
Sat, 16 May 2015 17:47:00 +0000 (19:47 +0200)
committerAxel Davy <axel.davy@ens.fr>
Fri, 21 Aug 2015 20:21:46 +0000 (22:21 +0200)
commit248833ff4072da4f3362dc9f0eab84eb015f3964
tree2dd8bc4aec16f52a3ac148bf991b45e2f27b3436
parentbc6c80e54714e939e4bc116374f410680e7a3632
st/nine: Prevent possible crash

In case NineBaseTexture9_ctor returns an error
This->surfaces[l] might be NULL.

Reviewed-by: Axel Davy <axel.davy@ens.fr>
Signed-off-by: Patrick Rudolph <siro@das-labor.org>
src/gallium/state_trackers/nine/texture9.c