Thomas Huth
99fd3178a0
tests/qtest/vhost-user-test: Fix memory leaks
...
Do not allocate resources in case we return early, and make sure
to free dest_cmdline at the end.
Reported-by: Euler Robot <euler.robot@huawei.com>
Reported-by: Pan Nengyuan <pannengyuan@huawei.com>
Message-Id: <20200116140736.9498-1-thuth@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
2020-01-16 17:01:25 +01:00
..
2020-01-12 11:42:41 +01:00
2020-01-12 11:42:41 +01:00
2020-01-12 11:42:41 +01:00
2020-01-12 11:42:41 +01:00
2020-01-12 11:42:41 +01:00
2020-01-12 11:42:41 +01:00
2020-01-12 11:42:41 +01:00
2020-01-12 11:42:41 +01:00
2020-01-12 11:42:41 +01:00
2020-01-12 11:42:41 +01:00
2020-01-12 11:42:41 +01:00
2020-01-12 11:42:41 +01:00
2020-01-12 11:42:41 +01:00
2020-01-12 11:42:41 +01:00
2020-01-12 11:42:41 +01:00
2020-01-12 11:42:41 +01:00
2020-01-12 11:42:41 +01:00
2020-01-12 11:42:41 +01:00
2020-01-12 11:42:41 +01:00
2020-01-12 11:42:41 +01:00
2020-01-12 11:42:41 +01:00
2020-01-12 11:42:41 +01:00
2020-01-12 11:42:41 +01:00
2020-01-12 11:42:41 +01:00
2020-01-12 11:42:41 +01:00
2020-01-12 11:42:41 +01:00
2020-01-12 11:42:41 +01:00
2020-01-12 11:42:41 +01:00
2020-01-12 11:42:41 +01:00
2020-01-12 11:42:41 +01:00
2020-01-12 11:42:41 +01:00
2020-01-12 11:42:41 +01:00
2020-01-12 11:42:41 +01:00
2020-01-12 11:42:41 +01:00
2020-01-12 11:42:41 +01:00
2020-01-12 11:42:41 +01:00
2020-01-12 11:42:41 +01:00
2020-01-12 11:42:41 +01:00
2020-01-12 11:42:41 +01:00
2020-01-12 11:42:41 +01:00
2020-01-12 11:42:41 +01:00
2020-01-12 11:42:41 +01:00
2020-01-12 11:42:41 +01:00
2020-01-12 11:42:41 +01:00
2020-01-12 11:42:41 +01:00
2020-01-12 11:42:41 +01:00
2020-01-12 11:42:41 +01:00
2020-01-12 11:42:41 +01:00
2020-01-12 11:42:41 +01:00
2020-01-12 11:42:41 +01:00
2020-01-16 16:53:33 +01:00
2020-01-12 11:42:41 +01:00
2020-01-12 11:42:41 +01:00
2020-01-12 11:42:41 +01:00
2020-01-12 11:42:41 +01:00
2020-01-12 11:42:41 +01:00
2020-01-12 11:42:41 +01:00
2020-01-12 11:42:41 +01:00
2020-01-12 11:42:41 +01:00
2020-01-12 11:42:41 +01:00
2020-01-12 11:42:41 +01:00
2020-01-12 11:42:41 +01:00
2020-01-12 11:42:41 +01:00
2020-01-12 11:42:41 +01:00
2020-01-12 11:42:41 +01:00
2020-01-12 11:42:41 +01:00
2020-01-12 11:42:41 +01:00
2020-01-12 11:42:41 +01:00
2020-01-12 11:42:41 +01:00
2020-01-12 11:42:41 +01:00
2020-01-12 11:42:41 +01:00
2020-01-12 11:42:41 +01:00
2020-01-12 11:42:41 +01:00
2020-01-12 11:42:41 +01:00
2020-01-12 11:42:41 +01:00
2020-01-12 11:42:41 +01:00
2020-01-12 11:42:41 +01:00
2020-01-12 11:42:41 +01:00
2020-01-12 11:42:41 +01:00
2020-01-12 11:42:41 +01:00
2020-01-12 11:42:41 +01:00
2020-01-12 11:42:41 +01:00
2020-01-12 11:42:41 +01:00
2020-01-12 11:42:41 +01:00
2020-01-12 11:42:41 +01:00
2020-01-12 11:42:41 +01:00
2020-01-12 11:42:41 +01:00
2020-01-12 11:42:41 +01:00
2020-01-12 11:42:41 +01:00
2020-01-12 11:42:41 +01:00
2020-01-12 11:42:41 +01:00
2020-01-12 11:42:41 +01:00
2020-01-12 11:42:41 +01:00
2020-01-12 11:42:41 +01:00
2020-01-12 11:42:41 +01:00
2020-01-16 17:01:25 +01:00
2020-01-12 11:42:41 +01:00
2020-01-12 11:42:41 +01:00
2020-01-12 11:42:41 +01:00
2020-01-12 11:42:41 +01:00
2020-01-12 11:42:41 +01:00
2020-01-12 11:42:41 +01:00
2020-01-12 11:42:41 +01:00
2020-01-12 11:42:41 +01:00
2020-01-12 11:42:41 +01:00
2020-01-12 11:42:41 +01:00
2020-01-12 11:42:41 +01:00