I belive I have found a leak of 1 byte when including the irrlicht's main header (irrlicht.h).
I'm using the Visual Studio 2012 and to detect those leaks I'm using the CRT library.
I have used the following code to reproduce this leak:
Code: Select all
#define _CRTDBG_MAP_ALLOC
#include <stdlib.h>
#include <crtdbg.h>
#include <irrlicht.h>
int main()
{
_CrtDumpMemoryLeaks();
return 0;
}
and the output data from the debug:
Edited:Detected memory leaks!
Dumping objects ->
{62} normal block at 0x00616F98, 1 bytes long.
Data: < > 00
Object dump complete.
The program '[4460] 01.HelloWorld.exe' has exited with code 0 (0x0).
I'm using irrlicht-1.8.1.