https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123378

--- Comment #3 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jonathan Wakely <[email protected]>:

https://gcc.gnu.org/g:5b20eefe0c39c352f40bc6ff6fd995bfa0e49636

commit r16-6553-g5b20eefe0c39c352f40bc6ff6fd995bfa0e49636
Author: Jonathan Wakely <[email protected]>
Date:   Mon Jan 5 17:29:40 2026 +0000

    libstdc++: Fix memory leak in std::barrier destructor [PR123378]

    When I replaced the std::unique_ptr member in r16-997-gef632273a90657 I
    should have added an explicit delete[] operation to replace the effects
    of the unique_ptr destructor.

    libstdc++-v3/ChangeLog:

            PR libstdc++/123378
            * include/std/barrier (~__tree_barrier_base): Define.

    Reviewed-by: Tomasz KamiÅski <[email protected]>

Reply via email to