From: Brian Paul Date: Sat, 19 Nov 2005 23:09:14 +0000 (+0000) Subject: call gluDeleteQuadric() to fix mem leak X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1ad3b7e28b726fdafed459b3c9a6adf6e314b391;p=mesa.git call gluDeleteQuadric() to fix mem leak --- 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); }