diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2017-08-18 18:46:57 +0100 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2017-08-18 18:46:57 +0100 |
commit | 676c4146f504d5252df1a3fb39bb5c4099bc0791 (patch) | |
tree | dfbe1a715b12079e6ed0e120937397676b8ccd3a /gcc | |
parent | 419d55e8df26ba17ee7514fa40669490d387d2c4 (diff) | |
download | gcc-676c4146f504d5252df1a3fb39bb5c4099bc0791.zip gcc-676c4146f504d5252df1a3fb39bb5c4099bc0791.tar.gz gcc-676c4146f504d5252df1a3fb39bb5c4099bc0791.tar.bz2 |
PR libstdc++/81891 fix double-free in hashtable constructor
PR libstdc++/81891
* include/bits/hashtable.h (_Hashtable(_InputIterator, _InputIterator,
size_type, const _H1&, const _H2&, const _Hash&, const _Equal&,
const _ExtractKey&, const allocator_type&)): Let destructor do clean
up if an exception is thrown.
* testsuite/23_containers/unordered_map/cons/81891.cc: New.
From-SVN: r251185
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions