Details
-
Bug
-
Resolution: Works as Designed
-
Major - P3
-
None
-
None
-
None
Description
database::list_collections leaks the cursor received from libmongoc if an error is thrown. This should be remedied by immediately wrapping the cursor_t in a mongocxx::cursor before any checks for errors.