summaryrefslogtreecommitdiffstats
path: root/progs
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2009-11-16 14:56:07 -0800
committerVinson Lee <[email protected]>2009-12-03 22:36:37 -0800
commitd245a951f39fe480c6268dbcc1fa06d59c40109e (patch)
treed733d4d025ed4ed7344cd6eec543919f7591a2ba /progs
parent905e12f3cce7f1bd8cfa990e4d6d7c0b14610f84 (diff)
progs/demos: Fix memory leak in fslight.c.
(cherry picked from commit aef3218f0bb48fdb286d2008ee07e507ea8aa98e)
Diffstat (limited to 'progs')
-rw-r--r--progs/demos/fslight.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/progs/demos/fslight.c b/progs/demos/fslight.c
index f0d76a4a06f..acba3e9583f 100644
--- 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