fix Coverity 10500: if bson_malloc returns null, mongo_parse_host will already have tried to dereference host_port so moving it inside of if ()
fix Coverity 10500: if bson_malloc returns null, mongo_parse_host will
already have tried to dereference host_port so moving it inside of if ()

Elastica/mongo-c-driver-legacy,mongodb/mongo-c-driver-legacy,HeliumProject/mongo-c,mongodb/mongo-c-driver-legacy,Elastica/mongo-c-driver-legacy,mongodb/mongo-c-driver-legacy,HeliumProject/mongo-c,mongodb/mongo-c-driver-legacy,HeliumProject/mongo-c,Elastica/mongo-c-driver-legacy,HeliumProject/mongo-c,Elastica/mongo-c-driver-legacy