mirror of
https://salsa.debian.org/ha-team/libqb
synced 2026-08-12 13:04:57 +00:00
Fix: refcount leak
This commit is contained in:
parent
a2bdeed3cc
commit
a8d4e9fdb5
@ -386,6 +386,7 @@ qb_ipcs_event_send(struct qb_ipcs_connection * c, const void *data, size_t size)
|
||||
qb_ipcs_connection_ref(c);
|
||||
|
||||
if (size > c->event.max_msg_size) {
|
||||
qb_ipcs_connection_unref(c);
|
||||
return -EMSGSIZE;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user