projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
905e12f
)
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>
Fri, 4 Dec 2009 06:36:37 +0000
(22:36 -0800)
(cherry picked from commit
aef3218f0bb48fdb286d2008ee07e507ea8aa98e
)
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