diff options
author | Vinson Lee <vlee@vmware.com> | 2009-11-16 18:06:40 -0800 |
---|---|---|
committer | Vinson Lee <vlee@vmware.com> | 2009-11-16 18:06:40 -0800 |
commit | 6b480dc21dd489d48685b2268e495218aea74293 (patch) | |
tree | e12694ec1ac32df54623b08e662fd2eb33c7eb99 /progs | |
parent | 648e8b4c46e9ab0374fdbe655321157125b7efe5 (diff) |
progs/demos: Fix memory leak in ray.c.
Diffstat (limited to 'progs')
-rw-r--r-- | progs/demos/ray.c | 2 |
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 |