commit | 0cd42f0881519a581909b670a4aebe27e53155de | [log] [tgz] |
---|---|---|
author | tom <tom@a5019735-40e9-0310-863c-91ae7b9d1cf9> | Thu Oct 06 09:00:17 2005 +0000 |
committer | tom <tom@a5019735-40e9-0310-863c-91ae7b9d1cf9> | Thu Oct 06 09:00:17 2005 +0000 |
tree | 78434c69c4ed300143c38c9953e00112e3ff8ff6 | |
parent | 0fd92f4126a029b2c73fd217b337121c38070066 [diff] |
Fix realloc wrappers to handle the out of memory case properly - if the call to VG_(cli_malloc) returns NULL then don't try and copy the data or register a new block and just leave the old block in place instead, but still return NULL to the caller. Fixes bug 109487 and it's duplicates. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4875 a5019735-40e9-0310-863c-91ae7b9d1cf9