mesa: free shader program data before deleting shader objects.
authorBrian <brian.paul@tungstengraphics.com>
Wed, 7 May 2008 05:08:02 +0000 (23:08 -0600)
committerBrian <brian.paul@tungstengraphics.com>
Wed, 7 May 2008 05:08:02 +0000 (23:08 -0600)
commit05370685fedab9608d6b5b5de7042dac4289e522
tree4c570158f345580269502f43d4ac005871dd28f1
parent103ae5d16fd9fef566096570f731bb634a8025d4
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