st/mesa: free the temporary bitmap/drawpix shader code
authorBrian Paul <brianp@vmware.com>
Tue, 8 Feb 2011 15:05:14 +0000 (08:05 -0700)
committerBrian Paul <brianp@vmware.com>
Tue, 8 Feb 2011 15:10:22 +0000 (08:10 -0700)
commit5cbff0932e498f49b57cbb71037b93416bfe30e0
treed503dc9264cb71279499bad207410c7dfd45eb08
parent1ee71bdc8a8471357cee6a1cf2fbaac6a70bb86c
st/mesa: free the temporary bitmap/drawpix shader code

Fixes a per-shader memory leak when drawing glBitmaps, glDrawPixels
or glCopyPixels.

NOTE: This is a candidate for the 7.9 and 7.10 branches.
src/mesa/state_tracker/st_program.c