mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2025-12-20 04:30:10 +01:00
timeout: Document fallibility of _dbus_timeout_new()
Like all other functions that allocate memory, libdbus assumes that this can fail on OOM. Signed-off-by: Simon McVittie <smcv@collabora.com>
This commit is contained in:
parent
51f72a14e0
commit
7b272b7d8b
1 changed files with 1 additions and 1 deletions
|
|
@ -60,7 +60,7 @@ struct DBusTimeout
|
|||
* @param handler function to call when the timeout occurs.
|
||||
* @param data data to pass to the handler
|
||||
* @param free_data_function function to be called to free the data.
|
||||
* @returns the new DBusTimeout object,
|
||||
* @returns the new DBusTimeout object, or #NULL if out of memory
|
||||
*/
|
||||
DBusTimeout*
|
||||
_dbus_timeout_new (int interval,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue