Home
last modified time | relevance | path

Searched hist:"58 c652c0" (Results 1 – 1 of 1) sorted by relevance

/openbmc/qemu/util/
H A Dqemu-sockets.c58c652c0 Fri Jan 22 05:28:33 CST 2016 Paolo Bonzini <pbonzini@redhat.com> qemu-sockets: simplify error handling

Just go always through the err label. (Noticed because Coverity
complains that peer is always non-NULL in the error cleanup code,
but removing the "if" is arguably more prone to introducing the
opposite bug in the future).

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Daniel P. Berrange <berrange@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>