mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 05:28:05 +02:00
progs/glsl: Fix memory leak in deriv.c.
(cherry picked from commit 0e783c7d03)
This commit is contained in:
parent
25fd168f03
commit
b1a87a3e0b
1 changed files with 1 additions and 0 deletions
|
|
@ -140,6 +140,7 @@ MakeSphere(void)
|
|||
glNewList(SphereList, GL_COMPILE);
|
||||
gluSphere(obj, 2.0f, 30, 15);
|
||||
glEndList();
|
||||
gluDeleteQuadric(obj);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue