]> git.proxmox.com Git - mirror_qemu.git/commit
migration: Don't leak IO channels
authorRoss Lagerwall <ross.lagerwall@citrix.com>
Wed, 1 Nov 2017 14:25:23 +0000 (14:25 +0000)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Mon, 12 Feb 2018 03:05:05 +0000 (21:05 -0600)
commitb9eec804f4624a59d7a7347117f8bb3354c078fd
tree539b489fa76e8431835910452b8229bfee1bd752
parentb8aa511bc045bba085d9b557e869a16c1ee56491
migration: Don't leak IO channels

Since qemu_fopen_channel_{in,out}put take references on the underlying
IO channels, make sure to release our references to them.

Signed-off-by: Ross Lagerwall <ross.lagerwall@citrix.com>
Message-Id: <20171101142526.1006-2-ross.lagerwall@citrix.com>
Reviewed-by: Daniel P. Berrange <berrange@redhat.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
(cherry picked from commit 032b79f7173051e7f8742a43d106c7fc526856f9)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
migration/savevm.c