summaryrefslogtreecommitdiff
path: root/progs/demos
diff options
context:
space:
mode:
authorVinson Lee <vlee@vmware.com>2009-11-16 18:06:40 -0800
committerVinson Lee <vlee@vmware.com>2009-11-16 18:06:40 -0800
commit6b480dc21dd489d48685b2268e495218aea74293 (patch)
treee12694ec1ac32df54623b08e662fd2eb33c7eb99 /progs/demos
parent648e8b4c46e9ab0374fdbe655321157125b7efe5 (diff)
progs/demos: Fix memory leak in ray.c.
Diffstat (limited to 'progs/demos')
-rw-r--r--progs/demos/ray.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/progs/demos/ray.c b/progs/demos/ray.c
index c2d8e4f545..e9211aa339 100644
--- a/progs/demos/ray.c
+++ b/progs/demos/ray.c
@@ -834,6 +834,8 @@ initdlists(void)
gluQuadricTexture(obj, GL_TRUE);
gluSphere(obj, SPHERE_RADIUS, 16, 16);
glEndList();
+
+ gluDeleteQuadric(obj);
}
int