Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-2680

Ignore NULL argument to any "destroy" function

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

      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:
            jesse@mongodb.com A. Jesse Jiryu Davis
            Reporter:
            jesse@mongodb.com A. Jesse Jiryu Davis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: