projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
648e8b4
)
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>
Tue, 17 Nov 2009 02:06:40 +0000
(18:06 -0800)
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