mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 19:40:10 +01:00
progs/demos: Fix memory leak in fslight.c.
This commit is contained in:
parent
cb060f3b98
commit
aef3218f0b
1 changed files with 1 additions and 0 deletions
|
|
@ -353,6 +353,7 @@ MakeSphere(void)
|
|||
glNewList(SphereList, GL_COMPILE);
|
||||
gluSphere(obj, 2.0f, 10, 5);
|
||||
glEndList();
|
||||
gluDeleteQuadric(obj);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue