[cfe-commits] [patch][libcxx] Remove some apparently unnecessary and leaked objects from cmp_nullptr tests
Andrew C. Morrow
andrew.c.morrow at gmail.com
Thu Aug 2 11:00:12 PDT 2012
There are two tests under test/utilities/memory that heap allocate two
integers which remain unused and are subsequently leaked, so the test
fail when run under valgrind. Unless I'm overlooking a subtle reason
why they are needed I think they can be removed, allowing these tests
to pass under valgrind. The attached patch removes the variables. If
there is a reason for them to exist, I can change this to just delete
them at the end of the test.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1258 bytes
Desc: not available
More information about the cfe-commits