Memory leak in createDevice? (Not a bug)
Posted: Sun Sep 10, 2006 8:32 pm
I have a larger application that runs fine. However, when the application terminates, VC reports a memory leak. Trying to find the cause of this, if learned that this happens even when the main function is reduced to
The FE return code is to help me make sure, that it is my own termination. I'm using svn 194 fresh this morning from the repository. Any thought on this? So far my app runs fine, so it is not critical for me. But a memory leak in createDevice is not a pleasant though altogether!
Code: Select all
int main()
{
IVideoDriver *driver;
IGUIEnvironment *env;
ISceneManager *smgr;
GLOBAL::device = createDevice(video::EDT_DIRECT3D9, core::dimension2d<s32>(800, 600),16,false,true);
return 0xFE;
}