Module: Mesa Branch: mesa_7_6_branch Commit: d245a951f39fe480c6268dbcc1fa06d59c40109e URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d245a951f39fe480c6268dbcc1fa06d59c40109e
Author: Vinson Lee <[email protected]> Date: Mon Nov 16 14:56:07 2009 -0800 progs/demos: Fix memory leak in fslight.c. (cherry picked from commit aef3218f0bb48fdb286d2008ee07e507ea8aa98e) --- progs/demos/fslight.c | 1 + 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 _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
