Re: [PATCH] tests/qtest/vhost-user-test: Fix memory leaks

2020-01-16 Thread Philippe Mathieu-Daudé
On 1/16/20 3:07 PM, Thomas Huth wrote: Do not allocate resources in case we return early, and make sure to free dest_cmdline at the end. Reported-by: Euler Robot Reported-by: Pan Nengyuan Signed-off-by: Thomas Huth --- Based on a similar patch by Pan Nengyuan:

[PATCH] tests/qtest/vhost-user-test: Fix memory leaks

2020-01-16 Thread Thomas Huth
Do not allocate resources in case we return early, and make sure to free dest_cmdline at the end. Reported-by: Euler Robot Reported-by: Pan Nengyuan Signed-off-by: Thomas Huth --- Based on a similar patch by Pan Nengyuan: https://lists.gnu.org/archive/html/qemu-devel/2020-01/msg02183.html