Fix memory leak in bulkWrite handleWouldChangeOwningShardError

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 7.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • Repl 2023-11-27
    • 160
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      This method leaks the passed-in WCE because it now has ownership of the data backing the pointer (.release() is called here) but doesn't free it.

              Assignee:
              Kaitlin Mahar
              Reporter:
              Kaitlin Mahar
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: