From: Vinson Lee Date: Tue, 17 Nov 2009 02:06:40 +0000 (-0800) Subject: progs/demos: Fix memory leak in ray.c. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b803abbaad3135047b931c322300b2d12ff255e1;p=mesa.git progs/demos: Fix memory leak in ray.c. (cherry picked from commit 6b480dc21dd489d48685b2268e495218aea74293) --- diff --git a/progs/demos/ray.c b/progs/demos/ray.c index c2d8e4f545e..e9211aa3399 100644 --- a/progs/demos/ray.c +++ b/progs/demos/ray.c @@ -834,6 +834,8 @@ initdlists(void) gluQuadricTexture(obj, GL_TRUE); gluSphere(obj, SPHERE_RADIUS, 16, 16); glEndList(); + + gluDeleteQuadric(obj); } int