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

Ignore NULL argument to any "destroy" function

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 1.11.0
    • None
    • libbson, libmongoc
    • None
    • Fully Compatible

    Description

      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.

      Attachments

        Activity

          People

            jesse@mongodb.com A. Jesse Jiryu Davis
            jesse@mongodb.com A. Jesse Jiryu Davis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: