]> git.ipfire.org Git - thirdparty/gcc.git/commit - libstdc++-v3/testsuite/22_locale/locale/cons/5.cc
Fix memory leaks in libstdc++ tests
authorJonathan Wakely <jwakely@redhat.com>
Thu, 6 Jul 2017 12:42:51 +0000 (13:42 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Thu, 6 Jul 2017 12:42:51 +0000 (13:42 +0100)
commit32aaf6ef10bf77d8300c0774dcc9bfcc8ed595c2
treeef2f6bbe354739636fa3a7c23dbadb29686571b5
parent4f7c2c7ff2374cb39386f627fa97e2363dd2f94d
Fix memory leaks in libstdc++ tests

* testsuite/20_util/specialized_algorithms/memory_management_tools/
1.cc: Free memory.
* testsuite/22_locale/locale/cons/5.cc: Remove redundant restoration
of original environment and free memory.

From-SVN: r250021
libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/20_util/specialized_algorithms/memory_management_tools/1.cc
libstdc++-v3/testsuite/22_locale/locale/cons/5.cc