thank you for very "informative" link and answer.
Why shouldn't Qt inform you about a leak in C code?
Check this microsoft stuff:
Is it so hard? I dont need more ;-)#define _CRTDBG_MAP_ALLOC
#include <stdlib.h>
#include <crtdbg.h>
int main(int argc, const char *argv[])
{
char* a = new char[10];
_CrtDumpMemoryLeaks();
return 0;
}
Detected memory leaks!
Dumping objects ->
...normal block at 0x00383858, 10 bytes long.
Data: < > CD CD CD CD CD CD CD CD CD CD
Object dump complete.





Reply With Quote



Bookmarks