ilo: plug a potential index buffer leak
authorChia-I Wu <olvaffe@gmail.com>
Thu, 27 Jun 2013 03:44:27 +0000 (11:44 +0800)
committerChia-I Wu <olvaffe@gmail.com>
Thu, 27 Jun 2013 03:46:58 +0000 (11:46 +0800)
commit9f3cfe6aafc210906be85de065afff7503ef240b
tree1f06692cd3283a63e8150d93498e8cfee7612737
parenteabe068747007c7c66632ca5e5b8b350889282e7
ilo: plug a potential index buffer leak

This is harmless since st_context and u_vbuf both set index buffer to NULL
before destroying themselves.  But we do not want to rely on that behavior.
src/gallium/drivers/ilo/ilo_state.c