diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 1999-03-25 13:37:00 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 1999-03-25 13:37:00 +0000 |
| commit | 7b19ba41ae282ff46eed9f7bc8804aadd55da3dd (patch) | |
| tree | 7b5eea9c943398971d511da956512f7b38786b7e /test/fractals.cxx | |
| parent | 8fb6c44298b58a744e3edeb91a64f28928afbd6f (diff) | |
Added gluDeleteQuadric() call to avoid memory leak.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@457 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'test/fractals.cxx')
| -rw-r--r-- | test/fractals.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/test/fractals.cxx b/test/fractals.cxx index 2e05a2a0f..d86d75f83 100644 --- a/test/fractals.cxx +++ b/test/fractals.cxx @@ -1,5 +1,5 @@ // -// "$Id: fractals.cxx,v 1.5 1999/01/19 19:10:39 mike Exp $" +// "$Id: fractals.cxx,v 1.5.2.1 1999/03/25 13:37:00 mike Exp $" // // Fractal drawing demo for the Fast Light Tool Kit (FLTK). // @@ -399,6 +399,8 @@ void CreateTreeLists(void) glPopAttrib(); glPopMatrix(); glEndList(); + + gluDeleteQuadric(cylquad); } /* @@ -803,5 +805,5 @@ int main(int argc, char** argv) #endif // -// End of "$Id: fractals.cxx,v 1.5 1999/01/19 19:10:39 mike Exp $". +// End of "$Id: fractals.cxx,v 1.5.2.1 1999/03/25 13:37:00 mike Exp $". // |
