projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
29f3e7e
)
progs/glsl: Fix memory leak in deriv.c.
author
Vinson Lee
<vlee@vmware.com>
Tue, 17 Nov 2009 17:53:19 +0000
(09:53 -0800)
committer
Vinson Lee
<vlee@vmware.com>
Tue, 17 Nov 2009 17:54:54 +0000
(09:54 -0800)
progs/glsl/deriv.c
patch
|
blob
|
history
diff --git
a/progs/glsl/deriv.c
b/progs/glsl/deriv.c
index 265a51571548b5bae3fefb4da59884af28f7ba39..30f2b75fef7c4c93b6c58bba6725dfb6530129fc 100644
(file)
--- a/
progs/glsl/deriv.c
+++ b/
progs/glsl/deriv.c
@@
-140,6
+140,7
@@
MakeSphere(void)
glNewList(SphereList, GL_COMPILE);
gluSphere(obj, 2.0f, 30, 15);
glEndList();
+ gluDeleteQuadric(obj);
}