Provided by: libmongoc-doc_1.30.2-1_all 

SYNOPSIS
void mongoc_stream_destroy (mongoc_stream_t *stream);
PARAMETERS
• stream: A mongoc_stream_t. This function shall release all resources associated with a mongoc_stream_t, including freeing the structure. It is invalid to use stream after calling this function. Does nothing if stream is NULL.
AUTHOR
MongoDB, Inc
COPYRIGHT
2009-present, MongoDB, Inc. 1.30.2 Mar 05, 2025 MONGOC_STREAM_DESTROY(3)