st/mesa: Fix memory leak on error path.
authorVinson Lee <vlee@vmware.com>
Sun, 6 Nov 2011 05:36:08 +0000 (22:36 -0700)
committerVinson Lee <vlee@vmware.com>
Tue, 8 Nov 2011 04:41:21 +0000 (20:41 -0800)
commit3210cad3f26a7e8a73f2dc2f7f3740e594b068bd
tree85114c3bfdd072a8a222e566655ef246dd8674eb
parentf4515d106cd40351133c89855e3277a70bba8721
st/mesa: Fix memory leak on error path.

Fixes Coverity resource leak defect.

Reviewed-by: José Fonseca <jfonseca@vmware.com>
src/mesa/state_tracker/st_program.c