projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb060f3
)
progs/demos: Fix memory leak in fslight.c.
author
Vinson Lee
<vlee@vmware.com>
Mon, 16 Nov 2009 22:56:07 +0000
(14:56 -0800)
committer
Vinson Lee
<vlee@vmware.com>
Mon, 16 Nov 2009 22:56:07 +0000
(14:56 -0800)
progs/demos/fslight.c
patch
|
blob
|
history
diff --git
a/progs/demos/fslight.c
b/progs/demos/fslight.c
index f0d76a4a06fb50de4ec40ba530cf4c3bf179b229..acba3e9583f15c62f8d3827cf7e1919a60f16a92 100644
(file)
--- a/
progs/demos/fslight.c
+++ b/
progs/demos/fslight.c
@@
-353,6
+353,7
@@
MakeSphere(void)
glNewList(SphereList, GL_COMPILE);
gluSphere(obj, 2.0f, 10, 5);
glEndList();
+ gluDeleteQuadric(obj);
}
static void