summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVinson Lee <vlee@vmware.com>2009-11-17 09:53:19 -0800
committerVinson Lee <vlee@vmware.com>2009-12-03 22:54:35 -0800
commitb1a87a3e0b8a4008be0e544f1b55f6facb01547d (patch)
tree8ecac81f54c6765467e23ec47d29673f4fe53244
parent25fd168f03162d4cb25b50ea9bd5ff56283f6854 (diff)
downloadexternal_mesa3d-b1a87a3e0b8a4008be0e544f1b55f6facb01547d.zip
external_mesa3d-b1a87a3e0b8a4008be0e544f1b55f6facb01547d.tar.gz
external_mesa3d-b1a87a3e0b8a4008be0e544f1b55f6facb01547d.tar.bz2
progs/glsl: Fix memory leak in deriv.c.
(cherry picked from commit 0e783c7d03128aade3ca50b28a56e254fef6b6ab)
-rw-r--r--progs/glsl/deriv.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/progs/glsl/deriv.c b/progs/glsl/deriv.c
index 265a515..30f2b75 100644
--- a/progs/glsl/deriv.c
+++ b/progs/glsl/deriv.c
@@ -140,6 +140,7 @@ MakeSphere(void)
glNewList(SphereList, GL_COMPILE);
gluSphere(obj, 2.0f, 30, 15);
glEndList();
+ gluDeleteQuadric(obj);
}