From caf19d59681bcb7fdb2cfe2941e8455ad930470c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20=C3=85dahl?= Date: Sat, 7 Dec 2013 14:06:55 +0100 Subject: [PATCH] doc: Clarify that the caller need to free retrieved event MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jonas Ã…dahl --- src/libinput.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/libinput.h b/src/libinput.h index 2f884b5d..5ea260ca 100644 --- a/src/libinput.h +++ b/src/libinput.h @@ -296,6 +296,8 @@ libinput_dispatch(struct libinput *libinput); * * Retrieve the next event from libinput's internal event queue. * + * After handling the retrieved event, the caller must free it using free(). + * * @param libinput A previously initialized libinput context * @return The next available event, or NULL if no event is available. */