--- Comment #4 from mirko dot maischberger at gmail dot com 2006-06-07
17:51 ---
Subject: Re: valgrind reports memleak when std::ios:sync_with_stdio(false)
And even with GLIBCXX_FORCE_NEW
#include
#include
extern "C" void __libc_freeres(void);
int main(void)
--- Comment #3 from mirko dot maischberger at gmail dot com 2006-06-07
17:43 ---
Subject: Re: valgrind reports memleak when std::ios:sync_with_stdio(false)
#include
#include
extern "C" void __libc_freeres(void);
int main(void)
{
atexit(__libc_freeres);