migration: Don't leak IO channels
commit032b79f7173051e7f8742a43d106c7fc526856f9
authorRoss Lagerwall <ross.lagerwall@citrix.com>
Wed, 1 Nov 2017 14:25:23 +0000 (1 14:25 +0000)
committerDr. David Alan Gilbert <dgilbert@redhat.com>
Tue, 6 Feb 2018 14:53:02 +0000 (6 14:53 +0000)
treec165716884a7f43af837aae1aa0e00d05ad2280e
parent6039dd5b1c45d76403b9dcadd2afd7efd8f42330
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>
migration/savevm.c