https://invisible-island.net/xterm/xtoolkit/
XtAppReleaseCacheRefs - decrement reference counts for resources
#include <X11/Intrinsic.h>
void XtAppReleaseCacheRefs(XtAppContext app_context, XtCacheRef* refs);
app_context
Specifies the application context.
refs Specifies the list of cache references to be released.
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.
X Toolkit Intrinsics - C Language Interface
Xlib - C Language X Interface
X Version 11 libXt 1.3.1 XtAppReleaseCacheRefs(3)