mbox series

[0/2] migration/multifd: fix two memleaks

Message ID 20200506095416.26099-1-pannengyuan@huawei.com (mailing list archive)
Headers show
Series migration/multifd: fix two memleaks | expand

Message

Pan Nengyuan May 6, 2020, 9:54 a.m. UTC
Fix two memleaks in multifd_send_thread/multifd_new_send_channel_async when error happen.

Pan Nengyuan (2):
  migration/multifd: fix memleaks in multifd_new_send_channel_async
  migration/multifd: Do error_free after migrate_set_error to avoid
    memleaks

 migration/multifd.c | 5 +++++
 1 file changed, 5 insertions(+)

Comments

Dr. David Alan Gilbert May 7, 2020, 3:55 p.m. UTC | #1
* Pan Nengyuan (pannengyuan@huawei.com) wrote:
> Fix two memleaks in multifd_send_thread/multifd_new_send_channel_async when error happen.
> 
> Pan Nengyuan (2):
>   migration/multifd: fix memleaks in multifd_new_send_channel_async
>   migration/multifd: Do error_free after migrate_set_error to avoid
>     memleaks
> 
>  migration/multifd.c | 5 +++++
>  1 file changed, 5 insertions(+)

Queued

> 
> -- 
> 2.18.2
> 
> 
--
Dr. David Alan Gilbert / dgilbert@redhat.com / Manchester, UK