---
name: "XmStringFreeContext"
section: "3"
platform: "linux"
package: "openmotif"
version: "2.3.8-4"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/XmStringFreeContext"
---

# XmStringFreeContext(3)

A compound string function that releases the string scanning context data structure

## NAME

**XmStringFreeContext** — A compound string function that releases the string scanning context data structure

## SYNOPSIS

```
#include <Xm/Xm.h>
void XmStringFreeContext(
XmStringContext context);
```

## DESCRIPTION

**XmStringFreeContext** releases the string scanning context data structure.

- *context*

  Specifies the string context structure that was allocated by the **XmStringInitContext** function

## RELATED

[**XmStringCreate**(3)](/XmStringCreate/3.md) and [**XmStringInitContext**(3)](/XmStringInitContext/3.md).
