Remove memory leaks in libstdc++ testsuite
authorJonathan Wakely <jwakely@redhat.com>
Thu, 21 Jul 2016 19:38:32 +0000 (20:38 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Thu, 21 Jul 2016 19:38:32 +0000 (20:38 +0100)
commit22620c14525becbb209ae95ca2ff46412d7c10c6
tree494d829ae79bad2fb1e48f6c82ef8805107b4483
parentcfd97da10d63e1eddd3b901a505056ab342ce46f
Remove memory leaks in libstdc++ testsuite

* testsuite/18_support/new_delete_placement.cc: Don't allocate (and
leak) memory for arguments to placement delete.
* testsuite/20_util/addressof/1.cc: Don't leak memory.
* testsuite/22_locale/locale/global_locale_objects/3.cc: Likewise.
* testsuite/23_containers/unordered_multimap/insert/55028-debug.cc:
Likewise.

From-SVN: r238607
libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/18_support/new_delete_placement.cc
libstdc++-v3/testsuite/20_util/addressof/1.cc
libstdc++-v3/testsuite/22_locale/locale/global_locale_objects/3.cc
libstdc++-v3/testsuite/23_containers/unordered_multimap/insert/55028-debug.cc