Mesa (mesa_7_6_branch): progs/demos: Fix memory leak in ipers.c.

Vinson Lee vlee at kemper.freedesktop.org
Thu Dec 3 22:39:07 PST 2009


Module: Mesa
Branch: mesa_7_6_branch
Commit: fc5f07de1aabddaf2c9d599a85ec74cde674275e
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=fc5f07de1aabddaf2c9d599a85ec74cde674275e

Author: Vinson Lee <vlee at vmware.com>
Date:   Mon Nov 16 15:44:52 2009 -0800

progs/demos: Fix memory leak in ipers.c.
(cherry picked from commit a1afe303deda320aadacdaf5b1c72631ca3f734f)

---

 progs/demos/ipers.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/progs/demos/ipers.c b/progs/demos/ipers.c
index 5d82b0d..ed03673 100644
--- a/progs/demos/ipers.c
+++ b/progs/demos/ipers.c
@@ -133,6 +133,8 @@ initdlists(void)
 
       glEndList();
    }
+
+   gluDeleteQuadric(obj);
 }
 
 static void



More information about the mesa-commit mailing list