Use bson_destroy instead of bson_free, and fix memleak issue.
authorSaikrishna Arcot <saiarcot895@gmail.com>
Wed, 31 May 2017 14:49:25 +0000 (07:49 -0700)
committerSaikrishna Arcot <saiarcot895@gmail.com>
Wed, 31 May 2017 14:49:25 +0000 (07:49 -0700)
commitca1ed50e897ce756c837267772cf3f6d7ff6d2ad
treec972603775f5743c98be7a6472648a010f7a705e
parent26868df30378f79e40e8838856edb07fbd7b38f3
Use bson_destroy instead of bson_free, and fix memleak issue.
src/write_mongodb.c