mongodb/mongo-c-driver — pull request #94 by amidvidy (2014-10-07 01:18:09+00:00)
Title: CDRIVER-425 use listCollections to enumerate collections.

I'd be surprised if I wasn't leaking memory somewhere. Will valgrind this tomorrow - but in the meantime I would appreciate style & design comments, etc.

Tested against 2.7.7 and 2.6.3.