mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-03 20:10:17 +01:00
call gluDeleteQuadric() to fix mem leak
This commit is contained in:
parent
6f445a1061
commit
1ad3b7e28b
1 changed files with 2 additions and 0 deletions
|
|
@ -181,6 +181,8 @@ MakeObjects(GLuint *objects_list)
|
|||
glMaterialfv( GL_FRONT, GL_EMISSION, black );
|
||||
gluCylinder( q, 1.5, 0.0, 2.5, 15, 1 );
|
||||
glEndList();
|
||||
|
||||
gluDeleteQuadric(q);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue