-
Type: Bug
-
Resolution: Works as Designed
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Implementation
-
None
database::create_collection leaks the collection received from libmongoc if an error is thrown. This should be remedied by immediately wrapping the collection_t in a mongocxx::collection before any checks for errors.