projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f445a1
)
call gluDeleteQuadric() to fix mem leak
author
Brian Paul
<brian.paul@tungstengraphics.com>
Sat, 19 Nov 2005 23:09:14 +0000
(23:09 +0000)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Sat, 19 Nov 2005 23:09:14 +0000
(23:09 +0000)
progs/demos/reflect.c
patch
|
blob
|
history
diff --git
a/progs/demos/reflect.c
b/progs/demos/reflect.c
index 9cd71d1c3db5f9e89b7b8bf2744aa61d6470f885..1a4504175fd5686b3d8d7482165f9c43d144a124 100644
(file)
--- a/
progs/demos/reflect.c
+++ b/
progs/demos/reflect.c
@@
-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);
}