summaryrefslogtreecommitdiffstats
path: root/progs/demos/fslight.c
diff options
context:
space:
mode:
authorVinson Lee <vlee@vmware.com>2009-11-16 14:56:07 -0800
committerVinson Lee <vlee@vmware.com>2009-11-16 14:56:07 -0800
commitaef3218f0bb48fdb286d2008ee07e507ea8aa98e (patch)
tree55ea74db7cbb824d399b98071b8b6909a8177edb /progs/demos/fslight.c
parentcb060f3b987c9fa07ebe06cf2e7e54d1eaded1e1 (diff)
downloadexternal_mesa3d-aef3218f0bb48fdb286d2008ee07e507ea8aa98e.zip
external_mesa3d-aef3218f0bb48fdb286d2008ee07e507ea8aa98e.tar.gz
external_mesa3d-aef3218f0bb48fdb286d2008ee07e507ea8aa98e.tar.bz2
progs/demos: Fix memory leak in fslight.c.
Diffstat (limited to 'progs/demos/fslight.c')
-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 f0d76a4..acba3e9 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