mongoc_stream_destroy() — MongoDB C Driver 1.9.2

- MongoDB C Driver 1.9.2 »
- API Reference »
- mongoc_stream_t

# mongoc_stream_destroy()

## 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.

Created using Sphinx 1.6.5, based on Sphinx Readable Theme.