In mongoc_client_new, the topology is freed before returning NULL. The same does not happen in mongoc_client_new_from_uri.
This can be addressed alongside CDRIVER-3723, since that ticket will refactor both methods alongside introduction of a new mongoc_client_new_from_uri_with_error method.
- is related to
-
CDRIVER-3723 Validate URI options on client/client pool creation
- Closed