From: Jim Meyering <meyer...@redhat.com> These changes fix most of the legitimate coverity-reported leak warnings.
Jim Meyering (6): qcow2: don't leak buffer for unexpected qcow_version in header qemu-ga: avoid unconditional lockfile file descriptor leak linux-user: do_msgrcv: don't leak host_mb upon TARGET_EFAULT failure sheepdog: don't leak socket file descriptor upon connection failure arm-semi: don't leak 1kb user string lock buffer upon TARGET_SYS_OPEN softmmu-semi: fix lock_user* functions not to deref NULL upon OOM arm-semi.c | 13 +++++++------ block/qcow2.c | 1 + block/sheepdog.c | 1 + linux-user/syscall.c | 1 + qemu-ga.c | 10 ++++++++-- softmmu-semi.h | 6 +++--- 6 files changed, 21 insertions(+), 11 deletions(-) -- 1.7.10.2.520.g6a4a482