aboutsummaryrefslogtreecommitdiffstats
path: root/progs
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2009-11-17 14:10:35 -0800
committerVinson Lee <[email protected]>2009-11-17 14:10:35 -0800
commit47b5f584a68ceab7c9c1d5279efbc9fe30ff2fcc (patch)
tree678cb943b45ab6ad641d6929c0115f001afbd144 /progs
parent46492f11f6f771e12ab2d13f9d7e9eb9e032c2dc (diff)
progs/redbook: Fix memory leak in quadric.c.
Diffstat (limited to 'progs')
-rw-r--r--progs/redbook/quadric.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/progs/redbook/quadric.c b/progs/redbook/quadric.c
index 4e46c85f829..7e99098304a 100644
--- a/progs/redbook/quadric.c
+++ b/progs/redbook/quadric.c
@@ -116,6 +116,8 @@ void init(void)
glNewList(startList+3, GL_COMPILE);
gluPartialDisk(qobj, 0.0, 1.0, 20, 4, 0.0, 225.0);
glEndList();
+
+ gluDeleteQuadric(qobj);
}
void display(void)