mesa: Fix memory leak in _mesa_get_uniform_location.
authorVinson Lee <vlee@freedesktop.org>
Fri, 23 Mar 2012 06:59:52 +0000 (23:59 -0700)
committerVinson Lee <vlee@freedesktop.org>
Sat, 24 Mar 2012 05:52:57 +0000 (22:52 -0700)
commit0f3aa9f4bd7daab354deb9268307c5628b460f6b
treed0f98b2c9987925a30a4691fb8006f4497e9080f
parent318669f196ca922337da02af9d72773e76e70b45
mesa: Fix memory leak in _mesa_get_uniform_location.

Fixes Coverity resource leak defect.

NOTE: This is a candidate for the 8.0 branch.

Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: José Fonseca <jfonseca@vmware.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/main/uniform_query.cpp