commit | 7420e0a2f02a2af656d33cde3d6f46ff10e13a9b | [log] [tgz] |
---|---|---|
author | tom <tom@a5019735-40e9-0310-863c-91ae7b9d1cf9> | Wed Jul 06 14:08:24 2011 +0000 |
committer | tom <tom@a5019735-40e9-0310-863c-91ae7b9d1cf9> | Wed Jul 06 14:08:24 2011 +0000 |
tree | 990c494ca9989fe6eaf14b5963c872e49226f497 | |
parent | 0610882a520af8f8ad743796ee84946e82af993f [diff] |
Don't allocate the XArray for the text version of the suppression until after we've checked if the tool will allow the error to be suppressed, or we will leak it if we do the early return. Spotted by IBM's BEAM checker. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11859 a5019735-40e9-0310-863c-91ae7b9d1cf9