From ac48d662038b06e7831ec72717d5f22d2c388e5e Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Tue, 18 Sep 2018 20:02:14 +0200 Subject: [PATCH] lib: Mention that fpi_timeout gets freed --- libfprint/fpi-poll.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libfprint/fpi-poll.h b/libfprint/fpi-poll.h index 8077eb0..3eb316c 100644 --- a/libfprint/fpi-poll.h +++ b/libfprint/fpi-poll.h @@ -26,6 +26,8 @@ * @data: the data passed to fpi_timeout_add() * * The prototype of the callback function for fpi_timeout_add(). + * Note that after the callback is called, the #fpi_timeout structure will + * be freed. */ typedef void (*fpi_timeout_fn)(struct fp_dev *dev, void *data);