From 4f3d815089e9587bb5adcdb1c40fe3683113ea3d Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Tue, 9 Jul 2013 22:30:17 +0200 Subject: Clarify that pict_format is a pointer into pf_reply MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit …and therefore does not need to be freed in xcb_cursor_context_free() --- cursor/cursor.h | 1 + 1 file changed, 1 insertion(+) diff --git a/cursor/cursor.h b/cursor/cursor.h index b7a3946..a69f025 100644 --- a/cursor/cursor.h +++ b/cursor/cursor.h @@ -47,6 +47,7 @@ typedef struct xcb_cursor_context_t { xcb_render_query_pict_formats_reply_t *pf_reply; + /* This is a pointer into pf_reply. */ xcb_render_pictforminfo_t *pict_format; /* Specific values of the root window’s RESOURCE_MANAGER atom contents. */ -- cgit v1.2.3