Fixed memory leak

This commit is contained in:
Robert Osfield 2011-09-14 10:45:11 +00:00
parent 420d8f6acf
commit 3279e9a5f5

View File

@ -45,7 +45,7 @@ bool wxOsgApp::OnInit()
// create osg canvas
// - initialize
int *attributes = new int[7];
int attributes[7];
attributes[0] = int(WX_GL_DOUBLEBUFFER);
attributes[1] = WX_GL_RGBA;
attributes[2] = WX_GL_DEPTH_SIZE;