Merge: Mongodb: fix C warnings and avoid crash caused by GC
authorJean Privat <jean@pryen.org>
Thu, 13 Aug 2015 01:59:31 +0000 (21:59 -0400)
committerJean Privat <jean@pryen.org>
Thu, 13 Aug 2015 01:59:31 +0000 (21:59 -0400)
Everything is in the title.

For more about the crash see issue #1629.

Pull-Request: #1630
Reviewed-by: Jean Privat <jean@pryen.org>


Trivial merge