void bson_free (void *mem);
This function shall free the memory supplied by mem. This should be used by functions that require you free the result with bson_free().