Coverity analysis defect 133796: Remove excess duplicate call

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Minor - P4
    • 1.25.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Double free

      Depending on the implementation of the deallocator function, the memory may by placed on the free list more than once. Memory is deallocated more than once
      /src/libmongoc/src/mongoc/mcd-azure.c:209: USE_AFTER_FREE 133796 Calling "_mongoc_http_response_cleanup" frees pointer "resp.body" which has already been freed.

              Assignee:
              Kevin Albertson
              Reporter:
              Coverity Collector User
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: