summaryrefslogtreecommitdiff
path: root/progs/redbook/quadric.c
diff options
context:
space:
mode:
Diffstat (limited to 'progs/redbook/quadric.c')
-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 4e46c85f82..7e99098304 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)