mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 17:30:12 +01:00
progs/redbook: Fix memory leak in quadric.c.
This commit is contained in:
parent
46492f11f6
commit
47b5f584a6
1 changed files with 2 additions and 0 deletions
|
|
@ -116,6 +116,8 @@ void init(void)
|
|||
glNewList(startList+3, GL_COMPILE);
|
||||
gluPartialDisk(qobj, 0.0, 1.0, 20, 4, 0.0, 225.0);
|
||||
glEndList();
|
||||
|
||||
gluDeleteQuadric(qobj);
|
||||
}
|
||||
|
||||
void display(void)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue