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

Use RAII to prevent memory leaking in shard targeting

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.7.1
    • Affects Version/s: 2.7.0
    • Component/s: Sharding
    • None
    • ALL

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

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

              Created:
              Updated:
              Resolved: