summaryrefslogtreecommitdiffstats
path: root/progs/demos/ipers.c
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2009-11-16 15:44:52 -0800
committerVinson Lee <[email protected]>2009-12-03 22:38:44 -0800
commitfc5f07de1aabddaf2c9d599a85ec74cde674275e (patch)
tree8ce4c99ba8a7c4974a592a90eaf4f566aa1c9e4d /progs/demos/ipers.c
parentd245a951f39fe480c6268dbcc1fa06d59c40109e (diff)
progs/demos: Fix memory leak in ipers.c.
(cherry picked from commit a1afe303deda320aadacdaf5b1c72631ca3f734f)
Diffstat (limited to 'progs/demos/ipers.c')
-rw-r--r--progs/demos/ipers.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/progs/demos/ipers.c b/progs/demos/ipers.c
index 5d82b0dc924..ed03673cb62 100644
--- a/progs/demos/ipers.c
+++ b/progs/demos/ipers.c
@@ -133,6 +133,8 @@ initdlists(void)
glEndList();
}
+
+ gluDeleteQuadric(obj);
}
static void