mirror of
https://github.com/mii443/qemu.git
synced 2025-08-22 15:15:46 +00:00
tests/unit/test-util-sockets: Remove temporary file after test
test-util-sockets leaves the temporary socket files around in the temporary files folder. Let's better remove them at the end of the testing. Fixes:4d3a329af5
("tests/util-sockets: add abstract unix socket cases") Message-ID: <20240226082728.249753-1-thuth@redhat.com> Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Thomas Huth <thuth@redhat.com> (cherry picked from commitf0cb6828ae
) Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
This commit is contained in:
committed by
Michael Tokarev
parent
8dd9165e7c
commit
72e2a24638
@ -326,6 +326,7 @@ static void test_socket_unix_abstract(void)
|
||||
test_socket_unix_abstract_row(&matrix[i]);
|
||||
}
|
||||
|
||||
unlink(addr.u.q_unix.path);
|
||||
g_free(addr.u.q_unix.path);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user