Signed-off-by: Nikolay Shirokovskiy <nshirokovskiy@xxxxxxxxxxxxx> --- src/lxc/lxc_controller.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lxc/lxc_controller.c b/src/lxc/lxc_controller.c index 7346804..59609b0 100644 --- a/src/lxc/lxc_controller.c +++ b/src/lxc/lxc_controller.c @@ -2253,7 +2253,8 @@ virLXCControllerEventSend(virLXCControllerPtr ctrl, goto error; VIR_DEBUG("Queue event %d %zu", procnr, msg->bufferLength); - virNetServerClientSendMessage(ctrl->client, msg); + if (virNetServerClientSendMessage(ctrl->client, msg) < 0) + goto error; xdr_free(proc, data); return; -- 1.8.3.1 -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list