summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2009-11-16 14:56:07 -0800
committerVinson Lee <[email protected]>2009-11-16 14:56:07 -0800
commitaef3218f0bb48fdb286d2008ee07e507ea8aa98e (patch)
tree55ea74db7cbb824d399b98071b8b6909a8177edb
parentcb060f3b987c9fa07ebe06cf2e7e54d1eaded1e1 (diff)
progs/demos: Fix memory leak in 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 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