From d79a9b174a79e89ca2507a61f2e12af25102313f Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Tue, 1 Feb 2011 07:36:08 +1000 Subject: man: note that callers of XIQueryPointer must free the button mask. buttons_return->mask is allocated by the library and must be freed by the caller to avoid leaking. Reported-by: Matthias Clasen Signed-off-by: Peter Hutterer --- man/XIQueryPointer.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'man/XIQueryPointer.txt') diff --git a/man/XIQueryPointer.txt b/man/XIQueryPointer.txt index 445f8b5..73fc11e 100644 --- a/man/XIQueryPointer.txt +++ b/man/XIQueryPointer.txt @@ -76,6 +76,9 @@ DESCRIPTION selected to obtain the data for modifiers_return and group_return. + The mask field in buttons_return is dynamically allocated and + must be freed by the caller. + XIQueryPointer is identical to XQueryPointer but specifies the device explicitly. -- cgit v1.2.3