mongo-client: Plug a memory leak.
mongo-client: Plug a memory leak.

Plug a memory leak on an error path in mongo_connect(): if we could
resolve the target host, but did not manage to connect, the function
returned without freeing the connection object.

algernon/libmongo-client,algernon/libmongo-client,algernon/libmongo-client