diff options
| author | Ross Lagerwall | 2017-11-01 15:25:25 +0100 |
|---|---|---|
| committer | Daniel P. Berrangé | 2018-02-15 17:54:57 +0100 |
| commit | a2565df12c59362c061084a0c853dace410cac26 (patch) | |
| tree | 671ec6dad0f4da0448ff597685887e1d81434055 /scripts/qapi/types.py | |
| parent | io: Fix QIOChannelFile when creating and opening read-write (diff) | |
| download | qemu-a2565df12c59362c061084a0c853dace410cac26.tar.gz qemu-a2565df12c59362c061084a0c853dace410cac26.tar.xz qemu-a2565df12c59362c061084a0c853dace410cac26.zip | |
io: Don't call close multiple times in QIOChannelFile
If the file descriptor underlying QIOChannelFile is closed in the
io_close() method, don't close it again in the finalize() method since
the file descriptor number may have been reused in the meantime.
Signed-off-by: Ross Lagerwall <ross.lagerwall@citrix.com>
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Diffstat (limited to 'scripts/qapi/types.py')
0 files changed, 0 insertions, 0 deletions
