[CDRIVER-526] Memory leak in mongoc_client_get_database_names function Created: 10/Feb/15 Updated: 19/Oct/16 Resolved: 10/Mar/15 |
|
| Status: | Closed |
| Project: | C Driver |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 1.1.2 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Tatjana | Assignee: | Mira Carey |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Description |
|
Memory leak in mongoc_client_get_database_names function. mongoc_cursor_t *cursor is nor freed after use. Should be added: mongoc_cursor_destroy (cursor); |
| Comments |
| Comment by Mira Carey [ 26/Feb/15 ] |
|
Thanks for noticing this. The fix will go in for 1.1.2 Regards, |
| Comment by Githook User [ 26/Feb/15 ] |
|
Author: {u'username': u'hanumantmk', u'name': u'Jason Carey (hanumantmk)', u'email': u'jcarey@argv.me'}Message: Fix a memory leak in mongoc_client_get_database_names() |