Leak of memory or pointers to system resources
Defect 101516 (STATIC_C)
Checker RESOURCE_LEAK (subcategory none)
File: /src/mongoc/mongoc-rpc.c
Function _mongoc_rpc_compress
/src/mongoc/mongoc-rpc.c, line: 676
Assigning: "output" = storage returned from "bson_malloc0(output_length)".
output = (char *) bson_malloc0 (output_length);
/src/mongoc/mongoc-rpc.c, line: 703
Variable "output" going out of scope leaks the storage it points to.
return NULL;