---
name: "pcre2_convert_context_free"
section: "3"
platform: "linux"
package: "pcre2"
version: "10.49-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/pcre2_convert_context_free"
---

# pcre2\_convert\_context\_free(3)

Perl-compatible regular expressions (revised API)

## NAME

PCRE2 - Perl-compatible regular expressions (revised API)

## SYNOPSIS

**#include \<pcre2.h\>**

```
void pcre2_convert_context_free(pcre2_convert_context *cvcontext);
```

## DESCRIPTION

This function is part of an experimental set of pattern conversion functions. It frees the memory occupied by a convert context, using the memory freeing function from the general context with which it was created, or **free()** if that was not set. If the argument is NULL, the function returns immediately without doing anything.

The pattern conversion functions are described in the **pcre2convert** documentation.
