Add a bunch of asserts to check the results of calls to system malloc().

Assertions are arguably not the right thing here, but the practice is
widespread and we're not planning on making asserts optional, and it's a lot
better than no checking.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2499 a5019735-40e9-0310-863c-91ae7b9d1cf9
2 files changed