<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/59651>59651</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            deque and string might leak memory
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            new issue
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          philnik777
      </td>
    </tr>
</table>

<pre>
    We had a bug in `vector` which lead to memory leaks. The problem was that a user could throw from inside a constructor, and then the destructor would never be run. This was caused by removing the base class. We also removed base classes from `basic_string` and `deque`, so we should add tests for them too and fix memory leaks if we find any.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxUks-O2yAQxp8GX0ZrERzj-OBD_yhPUGmPFZiJoYshZSBu3r6C3bbqxRaa-eb7faNRRG4LiAsbP7Pxa6dKtjEtd-t8cG_TNHU6mufyimCVAQW6bOACMMkfuOaYmORwWLda8KgM5Ag77jE96_ONevhmEe4pao87HIogW5VBQSFMsMbiDWSb4gG3FHdwgZxBULDGQDmVZiC-gAq1DUP9gME_JTjagIAPTKARUgnV0FFzWlUhNKCfkHCPDxe2JteKEFaviHp4RVCe4ntD7f1bQ3onYpJrRW79Tjm5sNW0FYZJbvBnQSZ55aMIBwLZhqOMgYyUCW4xVcsdcoxNdnO__lsPuFsV3lwwoMKz78wymHmYVYfLSU4nOQ3jLDu7KKm1GdQwX-ZpOnMlcEYhh0EbPZ7wMnVuEVyIkxCCn85ykL0WyM3I1wvnt7NZL-zMcVfO994_9j6mrXNEBZdxluOp80qjp3YDQgQ8oBWZEPUk0lI1L7psxM7cO8r0b0p22ePSltEivu8JdrfZ3EJ-BO5K8ovN-U5s-MTElYnr5rItul_jzsS1Dvz4vdxT_IFrZuLaMIiJa8P8HQAA___VqObI">