According to http://en.cppreference.com/w/c/memory/realloc (and many other
manuals), realloc is not supposed to zero all allocated memory, only the newly
allocated memory.
You can see the zeroing of memory here:
https://code.google.com/p/gperftools/source/browse/src/windows/override_function
s.cc#57
which only exists in the override implementation on Windows
What version of the product are you using? On what operating system?
GPerfTools 2.4
Original issue reported on code.google.com by
mark.ben...@10gen.comon 21 Apr 2015 at 9:17