mesa: free shader program data before deleting shader objects.
authorBrian Paul <brian.paul@tungstengraphics.com>
Wed, 7 May 2008 14:56:08 +0000 (08:56 -0600)
committerBrian Paul <brian.paul@tungstengraphics.com>
Wed, 7 May 2008 14:56:08 +0000 (08:56 -0600)
commit3e1a4c286936abdb4ce1b62a9ebdd93db1777aff
tree406f997a530e29e9f3367fa257098b16d8d0e126
parenta56a59ce74b7f18f25a13992d2a2c1ae7cf973ce
mesa: free shader program data before deleting shader objects.

Picked from master.
Fixes mem corruption seen when glean/api2 test exits.
src/mesa/main/context.c