mirror of
https://github.com/qemu/qemu.git
synced 2024-11-24 03:13:44 +08:00
tests: fix eepro100-test leak
Spotted by ASAN. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
parent
f0c9d64a68
commit
6afff1ffa3
@ -54,6 +54,7 @@ int main(int argc, char **argv)
|
||||
|
||||
path = g_strdup_printf("eepro100/%s", models[i]);
|
||||
qtest_add_data_func(path, models[i], test_device);
|
||||
g_free(path);
|
||||
}
|
||||
|
||||
return g_test_run();
|
||||
|
Loading…
Reference in New Issue
Block a user