r300g: prevent NULL pointer dereference in r300_buffer_create
authorMarek Olšák <maraeo@gmail.com>
Fri, 11 Feb 2011 02:17:04 +0000 (03:17 +0100)
committerMarek Olšák <maraeo@gmail.com>
Fri, 11 Feb 2011 02:18:05 +0000 (03:18 +0100)
commit9a1fe76a20c6eca67a8b933aa9e84f7ef0ad9ca2
treec92662b8ff40cd833bbc1adf6afcabadcee90959
parent2e8726f5b156ec59fd5c8b80a7947183055d80c2
r300g: prevent NULL pointer dereference in r300_buffer_create

Should fix:
https://bugs.freedesktop.org/show_bug.cgi?id=33185
src/gallium/drivers/r300/r300_screen_buffer.c