projects
/
project
/
ubus.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ubusd: don't free messages in ubus_send_msg() anymore
[project/ubus.git]
/
ubusd_monitor.c
diff --git
a/ubusd_monitor.c
b/ubusd_monitor.c
index
82d0333
..
a192206
100644
(file)
--- a/
ubusd_monitor.c
+++ b/
ubusd_monitor.c
@@
-76,7
+76,8
@@
ubusd_monitor_message(struct ubus_client *cl, struct ubus_msg_buf *ub, bool send
ub = ubus_msg_new(mb.head, blob_raw_len(mb.head), true);
ub->hdr.type = UBUS_MSG_MONITOR;
ub->hdr.seq = ++m->seq;
- ubus_msg_send(m->cl, ub, true);
+ ubus_msg_send(m->cl, ub);
+ ubus_msg_free(ub);
}
}