progs/glsl: Fix memory leak in deriv.c.

(cherry picked from commit 0e783c7d03)
This commit is contained in:
Vinson Lee 2009-11-17 09:53:19 -08:00
parent 25fd168f03
commit b1a87a3e0b

View file

@ -140,6 +140,7 @@ MakeSphere(void)
glNewList(SphereList, GL_COMPILE);
gluSphere(obj, 2.0f, 30, 15);
glEndList();
gluDeleteQuadric(obj);
}