doc: Clarify that the caller need to free retrieved event

Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
This commit is contained in:
Jonas Ådahl 2013-12-07 14:06:55 +01:00
parent 2d2df7842c
commit caf19d5968

View file

@ -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.
*/