projects
/
project
/
ubus.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ubus: ubus_free: clear pending timers before freeing context
[project/ubus.git]
/
libubus.c
diff --git
a/libubus.c
b/libubus.c
index
b25d8b0
..
51a1483
100644
(file)
--- a/
libubus.c
+++ b/
libubus.c
@@
-362,6
+362,7
@@
void ubus_shutdown(struct ubus_context *ctx)
if (!ctx)
return;
close(ctx->sock.fd);
+ uloop_timeout_cancel(&ctx->pending_timer);
free(ctx->msgbuf.data);
}