[PATCH][_Hashtable] Add missing destructor call
Jonathan Wakely
jwakely@redhat.com
Wed Nov 8 14:26:17 GMT 2023
On Wed, 8 Nov 2023 at 05:39, François Dumont <frs.dumont@gmail.com> wrote:
>
>
> On 07/11/2023 00:28, Jonathan Wakely wrote:
> > On Mon, 6 Nov 2023 at 21:39, François Dumont <frs.dumont@gmail.com> 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.
OK, that seems fine, thanks.
More information about the Libstdc++
mailing list