diff options
| author | Chuan Zheng <zhengchuan@huawei.com> | 2020-11-11 22:26:03 +0800 |
|---|---|---|
| committer | Dr. David Alan Gilbert <dgilbert@redhat.com> | 2020-11-12 15:52:20 +0000 |
| commit | 9e8424088c5648959e4c5d715290e6cfa96df087 (patch) | |
| tree | 255fde79be5a673fb15d2df3948f98c60e8cb4a4 /docs/sphinx/qapidoc.py | |
| parent | a18ed79b19ec63368bf825eaf708e31f49888d40 (diff) | |
| download | focaccia-qemu-9e8424088c5648959e4c5d715290e6cfa96df087.tar.gz focaccia-qemu-9e8424088c5648959e4c5d715290e6cfa96df087.zip | |
multifd/tls: fix memoryleak of the QIOChannelSocket object when cancelling migration
When creating new tls client, the tioc->master will be referenced which results in socket leaking after multifd_save_cleanup if we cancel migration. Fix it by do object_unref() after tls client creation. Suggested-by: Daniel P. Berrangé <berrange@redhat.com> Signed-off-by: Chuan Zheng <zhengchuan@huawei.com> Message-Id: <1605104763-118687-1-git-send-email-zhengchuan@huawei.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Diffstat (limited to 'docs/sphinx/qapidoc.py')
0 files changed, 0 insertions, 0 deletions