Session::commitTransaction() leaks reply document on success

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 1.8.1
    • Affects Version/s: 1.5.0
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The reply document initialized by mongoc_client_session_commit_transaction is only freed on error, which leads to a memory leak when the commit succeeds.

      This bug dates back to b172a20 for PHPC-1140.

            Assignee:
            Jeremy Mikola
            Reporter:
            Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: