diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2005-11-19 23:09:14 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2005-11-19 23:09:14 +0000 |
commit | 1ad3b7e28b726fdafed459b3c9a6adf6e314b391 (patch) | |
tree | 411f5c74ec91c41698c3f6ebe4cbccfced686584 | |
parent | 6f445a106186ac5e7e99cd55c1e27ac23b5053fd (diff) |
call gluDeleteQuadric() to fix mem leak
-rw-r--r-- | progs/demos/reflect.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/progs/demos/reflect.c b/progs/demos/reflect.c index 9cd71d1c3d..1a4504175f 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); } |