---
name: "mongoc_matcher_destroy"
section: "3"
platform: "linux"
package: "libmongoc-doc"
version: "1.23.1-1+deb12u3"
release: "Debian 12 (Bookworm)"
platforms: ["linux"]
url: "https://new.carta.tech/mongoc_matcher_destroy"
---

# mongoc\_matcher\_destroy(3)

mongoc\_matcher\_destroy()

## NAME

mongoc\_matcher\_destroy - mongoc\_matcher\_destroy()

## SYNOPSIS

```
void
mongoc_matcher_destroy (mongoc_matcher_t *matcher);
```

Release all resources associated with **matcher** including freeing the structure.

## DEPRECATED

**WARNING:**

**mongoc\_matcher\_t** is deprecated and will be removed in version 2.0.

## PARAMETERS

- •

  **matcher**: A *mongoc\_matcher\_t*.

## AUTHOR

MongoDB, Inc

## COPYRIGHT

2017-present, MongoDB, Inc
