[PATCH][_Hashtable] Add missing destructor call

Jonathan Wakely jwakely@redhat.com
Mon Nov 6 23:13:49 GMT 2023


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 ?
>
> I hope gmail appli will appreciate .diff instead of .patch.

No, it doesn't.

> .txt are not
> in .gitignore so annoying to use for patches.

You don't have to create the file inside the Git repo, e.g. I dump
patches to /tmp/patch.txt



More information about the Libstdc++ mailing list