summaryrefslogtreecommitdiffstats
path: root/migration/savevm.c
diff options
context:
space:
mode:
authorBandan Das2019-03-06 22:04:08 +0100
committerGerd Hoffmann2019-03-07 10:02:48 +0100
commit298ac63c4428e05b09f9d0959f89fd5436c4a0ec (patch)
tree10411d58b69038afd15a577f6f03369936776e75 /migration/savevm.c
parentusb-mtp: return incomplete transfer on a lstat failure (diff)
downloadqemu-298ac63c4428e05b09f9d0959f89fd5436c4a0ec.tar.gz
qemu-298ac63c4428e05b09f9d0959f89fd5436c4a0ec.tar.xz
qemu-298ac63c4428e05b09f9d0959f89fd5436c4a0ec.zip
usb-mtp: fix some usb_mtp_write_data return paths
During a write, free up the "path" before getting more data. Also, while we at it, remove the confusing usage of d->fd for storing mkdir status Spotted by Coverity: CID 1398642 Signed-off-by: Bandan Das <bsd@redhat.com> Message-id: 20190306210409.14842-3-bsd@redhat.com Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'migration/savevm.c')
0 files changed, 0 insertions, 0 deletions