--- src/shared/timeout-mainloop.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/shared/timeout-mainloop.c b/src/shared/timeout-mainloop.c index bdc527a..ba72fa9 100644 --- a/src/shared/timeout-mainloop.c +++ b/src/shared/timeout-mainloop.c @@ -59,6 +59,7 @@ int timeout_add(unsigned int t, timeout_func_t func, void *user_data, data->func = func; data->user_data = user_data; + data->destroy = destroy; data->timeout = t; data->id = mainloop_add_timeout(t, timeout_callback, data, -- 1.8.4 -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html