Ignore NULL argument to any "destroy" function

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 1.11.0
    • Affects Version/s: None
    • Component/s: libbson, libmongoc
    • None
    • None
    • Fully Compatible
    • None
    • None
    • None
    • None
    • None
    • None

      Some "destroy" functions like mongoc_client_destroy ignore NULL arguments, others like mongoc_database_destroy will abort. Ignore NULL arguments to all "destroy" functions and document it.

              Assignee:
              A. Jesse Jiryu Davis
              Reporter:
              A. Jesse Jiryu Davis
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: