r300g: fix crash when adding a new relocation
authorMarek Olšák <maraeo@gmail.com>
Fri, 8 Apr 2011 18:42:03 +0000 (20:42 +0200)
committerMarek Olšák <maraeo@gmail.com>
Fri, 8 Apr 2011 19:34:16 +0000 (21:34 +0200)
commitaac4bae98651c928ce298aecf158b0aa1a7fabce
tree74bf7a451158d7dc2c6133d08a29ed70446c9662
parentff3d7ce201e6b415eb1254d784f0f425592d556b
r300g: fix crash when adding a new relocation

No idea why it's so hard to reproduce.
Broken with: c35572352e3e92683988ee8d151b47f4190d62f9

Thanks to Toni Spets for assistance.
src/gallium/winsys/radeon/drm/radeon_drm_cs.c