projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5820dae
)
progs/demos: Fix memory leak in ray.c.
author
Vinson Lee
<vlee@vmware.com>
Tue, 17 Nov 2009 02:06:40 +0000
(18:06 -0800)
committer
Vinson Lee
<vlee@vmware.com>
Fri, 4 Dec 2009 06:49:18 +0000
(22:49 -0800)
(cherry picked from commit
6b480dc21dd489d48685b2268e495218aea74293
)
progs/demos/ray.c
patch
|
blob
|
history
diff --git
a/progs/demos/ray.c
b/progs/demos/ray.c
index c2d8e4f545e352207f7628e470388eb97a73b828..e9211aa3399b5a934b6b8be76c5de6eaf35756f3 100644
(file)
--- a/
progs/demos/ray.c
+++ b/
progs/demos/ray.c
@@
-834,6
+834,8
@@
initdlists(void)
gluQuadricTexture(obj, GL_TRUE);
gluSphere(obj, SPHERE_RADIUS, 16, 16);
glEndList();
+
+ gluDeleteQuadric(obj);
}
int