diff options
author | Bandan Das <bsd@redhat.com> | 2019-03-06 16:04:08 -0500 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2019-03-07 10:02:48 +0100 |
commit | 298ac63c4428e05b09f9d0959f89fd5436c4a0ec (patch) | |
tree | 10411d58b69038afd15a577f6f03369936776e75 /scripts/coccinelle | |
parent | c5ead51f90cf33ccf07974eba5154be2af2c7fc3 (diff) | |
download | qemu-298ac63c4428e05b09f9d0959f89fd5436c4a0ec.zip qemu-298ac63c4428e05b09f9d0959f89fd5436c4a0ec.tar.gz qemu-298ac63c4428e05b09f9d0959f89fd5436c4a0ec.tar.bz2 |
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 'scripts/coccinelle')
0 files changed, 0 insertions, 0 deletions