On 07/11/2023 00:28, Jonathan Wakely wrote:
On Mon, 6 Nov 2023 at 21:39, François Dumont <[email protected]> wrote:Noticed looking for other occasion to replace __try/__catch with RAII helper. libstdc++: [_Hashtable] Add missing node destructor call libstdc++-v3/ChangeLog: * include/bits/hashtable_policy.h (_Hashtable_alloc<>::_M_allocate_node): Add missing call to node destructor on construct exception. Tested under Linux x64, ok to commit ?OK. Is this missing on any branches too?
Clearly all maintained branches.
I don't think it's actually a problem, since it's a trivial destructor anyway.
Yes, me neither, I was only thinking about sanity checker tools when doing this so no plan for backports.
