summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ubus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ubus.c b/ubus.c
index 22901d8..c9b0ea5 100644
--- a/ubus.c
+++ b/ubus.c
@@ -215,7 +215,7 @@ static void uh_ubus_request_free(struct client *cl)
struct dispatch_ubus *du = &cl->dispatch.ubus;
blob_buf_free(&du->buf);
- uloop_timeout_cancel(&cl->timeout);
+ uloop_timeout_cancel(&du->timeout);
if (du->jsobj)
json_object_put(du->jsobj);