[Bug libstdc++/88199] [7/8 Regression] memory leak on unordered container move assignment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88199 Jonathan Wakely changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|--- |FIXED --- Comment #5 from Jonathan Wakely --- Fixed for 7.4 and 8.3, thanks François.
[Bug libstdc++/88199] [7/8 Regression] memory leak on unordered container move assignment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88199 --- Comment #4 from François Dumont --- Author: fdumont Date: Wed Nov 28 06:27:28 2018 New Revision: 266543 URL: https://gcc.gnu.org/viewcvs?rev=266543=gcc=rev Log: 2018-11-28 François Dumont PR libstdc++/88199 * include/bits/hashtable.h (_Hashtable<>::_M_move_assign(_Hashtable&&, false_type)): Deallocate former buckets after assignment. * testsuite/23_containers/unordered_set/allocator/move_assign.cc (test03): New. Modified: branches/gcc-8-branch/libstdc++-v3/ChangeLog branches/gcc-8-branch/libstdc++-v3/include/bits/hashtable.h branches/gcc-8-branch/libstdc++-v3/testsuite/23_containers/unordered_set/allocator/move_assign.cc
[Bug libstdc++/88199] [7/8 Regression] memory leak on unordered container move assignment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88199 --- Comment #3 from François Dumont --- Author: fdumont Date: Wed Nov 28 06:19:38 2018 New Revision: 266542 URL: https://gcc.gnu.org/viewcvs?rev=266542=gcc=rev Log: 2018-11-28 François Dumont PR libstdc++/88199 * include/bits/hashtable.h (_Hashtable<>::_M_move_assign(_Hashtable&&, false_type)): Deallocate former buckets after assignment. * testsuite/23_containers/unordered_set/allocator/move_assign.cc (test03): New. Modified: branches/gcc-7-branch/libstdc++-v3/ChangeLog branches/gcc-7-branch/libstdc++-v3/include/bits/hashtable.h branches/gcc-7-branch/libstdc++-v3/testsuite/23_containers/unordered_set/allocator/move_assign.cc