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

# XtAppReleaseCacheRefs(3)

decrement reference counts for resources

## NAME

XtAppReleaseCacheRefs - decrement reference counts for resources

## SYNTAX

\#include \<X11/Intrinsic.h\>

void XtAppReleaseCacheRefs(XtAppContext *app\_context*, XtCacheRef\* *refs*);

## ARGUMENTS

- *app\_context*

  Specifies the application context.

- *refs*

  Specifies the list of cache references to be released.

## DESCRIPTION

**XtAppReleaseCacheRefs** decrements the reference count for the conversion entries identified by the *refs* argument. This argument is a pointer to a NULL-terminated list of **XtCacheRef** values. If any reference count reaches zero, the destructor, if any, will be called and the resource removed from the conversion cache.

## SEE ALSO

*X Toolkit Intrinsics - C Language Interface*\
 *Xlib - C Language X Interface*
