From: Vinson Lee Date: Tue, 17 Nov 2009 17:53:19 +0000 (-0800) Subject: progs/glsl: Fix memory leak in deriv.c. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0e783c7d03128aade3ca50b28a56e254fef6b6ab;p=mesa.git progs/glsl: Fix memory leak in deriv.c. --- diff --git a/progs/glsl/deriv.c b/progs/glsl/deriv.c index 265a5157154..30f2b75fef7 100644 --- a/progs/glsl/deriv.c +++ b/progs/glsl/deriv.c @@ -140,6 +140,7 @@ MakeSphere(void) glNewList(SphereList, GL_COMPILE); gluSphere(obj, 2.0f, 30, 15); glEndList(); + gluDeleteQuadric(obj); }