mesa/st: Fix vertex buffer leak
authorThomas Hellstrom <thellstrom@vmware.com>
Mon, 7 Feb 2011 14:37:05 +0000 (15:37 +0100)
committerThomas Hellstrom <thellstrom@vmware.com>
Tue, 8 Feb 2011 10:01:21 +0000 (11:01 +0100)
commitbb1036aae5b31af583b9aa263fec73c899383493
tree945b262d37212d7f7fae012ef40670df397b8a5b
parent1e1b89103e1cdce9f20b9f32825dd166f8d9d6e1
mesa/st: Fix vertex buffer leak

Make sure we unreference the vertex buffer pointers in a local array.
This fixes huge vertex buffer / memory leaks in mesa demos "fire" and "engine".

NOTE: This is a candidate for the 7.9 and 7.10 branches.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
src/mesa/state_tracker/st_draw_feedback.c