diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2011-02-01 07:36:08 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2011-02-23 15:03:18 +1000 |
commit | d79a9b174a79e89ca2507a61f2e12af25102313f (patch) | |
tree | 00384046b06a9d577e64939505268eac9b43c9d4 | |
parent | 1b376f371c2f866cd1cdf047e50210a5c69772b9 (diff) |
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 <mclasen@redhat.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r-- | man/XIQueryPointer.txt | 3 |
1 files changed, 3 insertions, 0 deletions
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. |