summaryrefslogtreecommitdiffstats
path: root/progs/demos/ray.c
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2009-11-16 18:06:40 -0800
committerVinson Lee <[email protected]>2009-12-03 22:49:18 -0800
commitb803abbaad3135047b931c322300b2d12ff255e1 (patch)
tree4dc3d6b22e5f4cea9668623f9832610012bb2700 /progs/demos/ray.c
parent5820dae4ecad11097ddc024441ea45aa9fefa290 (diff)
progs/demos: Fix memory leak in ray.c.
(cherry picked from commit 6b480dc21dd489d48685b2268e495218aea74293)
Diffstat (limited to 'progs/demos/ray.c')
-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 c2d8e4f545e..e9211aa3399 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