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:
parent
8fb6c44298
commit
7b19ba41ae
@ -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 $".
|
||||
//
|
||||
|
Loading…
Reference in New Issue
Block a user