[no bug] Irrlicht.h memory leak

You discovered a bug in the engine, and you are sure that it is not a problem of your code? Just post it in here. Please read the bug posting guidelines first.
Post Reply
Aramis
Posts: 1
Joined: Sun Sep 30, 2012 4:48 pm
Location: Curitiba - Brazil
Contact:

[no bug] Irrlicht.h memory leak

Post by Aramis »

This is my very first post, so I apologise if I'm not doing something right here...

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:
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).
Edited:
I'm using irrlicht-1.8.1.
zerochen
Posts: 273
Joined: Wed Jan 07, 2009 1:17 am
Location: Germany

Re: Irrlicht.h memory leak

Post by zerochen »

hi,


isnt it a false postive leak? eg static objects are cleared after it leave the entrypoint. isnt it?

regards
zerochen
Post Reply