diff options
author | Felix Fietkau <nbd@openwrt.org> | 2013-05-30 15:05:00 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2013-05-30 15:05:00 +0200 |
commit | 18ce3a61dea1d5db4f58e767f4c78123a7bd1667 (patch) | |
tree | 1c47c8e96014c316c8c4bb12e3db8a4d9667cb70 | |
parent | 0e2cb17889eb981f836f50d7947e5344f9d9f103 (diff) |
ubus: clear the right timeout on rpc connection teardowns
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
-rw-r--r-- | ubus.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |