xcb\_free\_pixmap(3) XCB Requests xcb\_free\_pixmap(3)

# [NAME](#NAME)

xcb\_free\_pixmap - Destroys a pixmap

# [SYNOPSIS](#SYNOPSIS)

**#include &lt;xcb/xproto.h&gt;**

## [Request function](#Request_function)

xcb\_void\_cookie\_t **xcb\_free\_pixmap**(xcb\_connection\_t \**conn*, xcb\_pixmap\_t *pixmap*);

# [REQUEST ARGUMENTS](#REQUEST_ARGUMENTS)

[*conn*](#conn)

The XCB connection to X11.

[*pixmap*](#pixmap)

The pixmap to destroy.

# [DESCRIPTION](#DESCRIPTION)

Deletes the association between the pixmap ID and the pixmap. The pixmap storage will be freed when there are no more references to it.

# [RETURN VALUE](#RETURN_VALUE)

Returns an *xcb\_void\_cookie\_t*. Errors (if any) have to be handled in the event loop.

If you want to handle errors directly with *xcb\_request\_check* instead, use *xcb\_free\_pixmap\_checked*. See [**xcb-requests(3)**](/man/os/libxcb/xcb-requests.3) for details.

# [ERRORS](#ERRORS)

[*xcb\_pixmap\_error\_t*](#xcb_pixmap_error_t)

The specified pixmap does not exist.

# [SEE ALSO](#SEE_ALSO)

[**xcb-requests**(3)](/man/os/libxcb/xcb-requests.3)

# [AUTHOR](#AUTHOR)

Generated from xproto.xml. Contact xcb@lists.freedesktop.org for corrections and improvements.

libxcb 1.17.0 X Version 11

---

Document: xcb_free_pixmap_checked(3) from libxcb 1.17.0-r17 (Chainguard OS)
Source: https://gitlab.freedesktop.org/xorg/lib/libxcb.git
