vbo: add a null pointer check to handle OOM instead of crashing
authorBrian Paul <brianp@vmware.com>
Thu, 24 Jan 2013 23:32:42 +0000 (16:32 -0700)
committerAndreas Boll <andreas.boll.dev@gmail.com>
Wed, 13 Feb 2013 17:46:39 +0000 (18:46 +0100)
commit3fa0423c0230154c80d8f45d3232acc10b6e2014
tree3af816d1b440f3636d84aacc23d72d3029096e5c
parent6b745a4e245305aae7b41b246c853a273a397673
vbo: add a null pointer check to handle OOM instead of crashing

Note: This is a candidate for the 9.0 branch.
(cherry picked from commit 7a89f08a22eb83ed2f0c51e516397d6415e64a3d)
src/mesa/vbo/vbo_exec_api.c