mirror of
https://github.com/fltk/fltk.git
synced 2026-06-02 15:46:52 +08:00
Added gluDeleteQuadric() call to avoid memory leak.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@457 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
+4
-2
@@ -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).
|
// Fractal drawing demo for the Fast Light Tool Kit (FLTK).
|
||||||
//
|
//
|
||||||
@@ -399,6 +399,8 @@ void CreateTreeLists(void)
|
|||||||
glPopAttrib();
|
glPopAttrib();
|
||||||
glPopMatrix();
|
glPopMatrix();
|
||||||
glEndList();
|
glEndList();
|
||||||
|
|
||||||
|
gluDeleteQuadric(cylquad);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@@ -803,5 +805,5 @@ int main(int argc, char** argv)
|
|||||||
#endif
|
#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 $".
|
||||||
//
|
//
|
||||||
|
|||||||
Reference in New Issue
Block a user