Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-13870

Use RAII to prevent memory leaking in shard targeting

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 2.7.1
    • 2.7.0
    • Sharding
    • None
    • ALL

    Description

      uassert() can throw a exception, so we should use RAII to prevent leaking.

      Attachments

        Activity

          People

            siyuan.zhou@mongodb.com Siyuan Zhou
            siyuan.zhou@mongodb.com Siyuan Zhou
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: