Uploaded image for project: 'PHP Driver: Extension'
  1. PHP Driver: Extension
  2. PHPC-1687

Session::commitTransaction() leaks reply document on success

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.8.1
    • Affects Version/s: 1.5.0
    • Component/s: 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:
            jmikola@mongodb.com Jeremy Mikola
            Reporter:
            jmikola@mongodb.com Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: