aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--progs/demos/reflect.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/progs/demos/reflect.c b/progs/demos/reflect.c
index 9cd71d1c3db..1a4504175fd 100644
--- a/progs/demos/reflect.c
+++ b/progs/demos/reflect.c
@@ -181,6 +181,8 @@ MakeObjects(GLuint *objects_list)
glMaterialfv( GL_FRONT, GL_EMISSION, black );
gluCylinder( q, 1.5, 0.0, 2.5, 15, 1 );
glEndList();
+
+ gluDeleteQuadric(q);
}