M
Mike Krasnik
Hello all,
I've been messing with checking memory leaks last time, and it looks
like some of the memory was not freed due to the fact
"library's default allocators keep free memory in a pool for later reuse,
rather than returning it to the OS."
In C it can be easily avoided using function
extern "C" void __libc_freeres(void);
It would be nice if something like that existed
in libstdc++. So we can get rid of these nasty
"memory leaks" while using memory debugger.
Anyone has a clue?
Thnx, Miha
I've been messing with checking memory leaks last time, and it looks
like some of the memory was not freed due to the fact
"library's default allocators keep free memory in a pool for later reuse,
rather than returning it to the OS."
In C it can be easily avoided using function
extern "C" void __libc_freeres(void);
It would be nice if something like that existed
in libstdc++. So we can get rid of these nasty
"memory leaks" while using memory debugger.
Anyone has a clue?
Thnx, Miha