summaryrefslogtreecommitdiff
path: root/progs/glsl
diff options
context:
space:
mode:
authorVinson Lee <vlee@vmware.com>2009-11-17 09:53:19 -0800
committerVinson Lee <vlee@vmware.com>2009-11-17 09:54:54 -0800
commit0e783c7d03128aade3ca50b28a56e254fef6b6ab (patch)
treeee4afbb0d04e145066a26e76f7a10dab0414a2fc /progs/glsl
parent29f3e7e1d1e8cdff3596b88990ed84d7eeff6f80 (diff)
progs/glsl: Fix memory leak in deriv.c.
Diffstat (limited to 'progs/glsl')
-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 265a515715..30f2b75fef 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);
}