Re: [PATCH] migration: fix memory leak in qmp_migrate_set_parameters

2020-08-27 Thread Dr. David Alan Gilbert
* Chuan Zheng (zhengch...@huawei.com) wrote: > From: Zheng Chuan > > "tmp.tls_hostname" and "tmp.tls_creds" allocated by > migrate_params_test_apply() > is forgot to free at the end of qmp_migrate_set_parameters(). Fix that. > > The leak stack: > Direct leak of 2 byte(s) in 2 object(s)

Re: [PATCH] migration: fix memory leak in qmp_migrate_set_parameters

2020-07-09 Thread Juan Quintela
Chuan Zheng wrote: > From: Zheng Chuan > > "tmp.tls_hostname" and "tmp.tls_creds" allocated by > migrate_params_test_apply() > is forgot to free at the end of qmp_migrate_set_parameters(). Fix that. > > The leak stack: > Direct leak of 2 byte(s) in 2 object(s) allocated from: >#0

[PATCH] migration: fix memory leak in qmp_migrate_set_parameters

2020-07-09 Thread Chuan Zheng
From: Zheng Chuan "tmp.tls_hostname" and "tmp.tls_creds" allocated by migrate_params_test_apply() is forgot to free at the end of qmp_migrate_set_parameters(). Fix that. The leak stack: Direct leak of 2 byte(s) in 2 object(s) allocated from: #0 0xb597c20b in __interceptor_malloc

Re: [PATCH] migration: fix memory leak in qmp_migrate_set_parameters

2020-07-08 Thread no-reply
Patchew URL: https://patchew.org/QEMU/1594266433-21621-1-git-send-email-zhengch...@huawei.com/ Hi, This series failed the docker-quick@centos7 build test. Please find the testing commands and their output below. If you have Docker installed, you can probably reproduce it locally. === TEST

[PATCH] migration: fix memory leak in qmp_migrate_set_parameters

2020-07-08 Thread Chuan Zheng
From: Zheng Chuan "tmp.tls_hostname" and "tmp.tls_creds" allocated by migrate_params_test_apply() is forgot to free at the end of qmp_migrate_set_parameters(). Fix that. The leak stack: Direct leak of 2 byte(s) in 2 object(s) allocated from: #0 0xb597c20b in __interceptor_malloc