Home
last modified time | relevance | path

Searched hist:"99 fd3178a0d6f8edbf22b5e82b3e5134f93c4084" (Results 1 – 1 of 1) sorted by relevance

/qemu/tests/qtest/
H A Dvhost-user-test.c99fd3178a0d6f8edbf22b5e82b3e5134f93c4084 Thu Jan 16 14:07:36 UTC 2020 Thomas Huth <thuth@redhat.com> 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>