mirror of https://github.com/xemu-project/xemu.git
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]);
|
path = g_strdup_printf("eepro100/%s", models[i]);
|
||||||
qtest_add_data_func(path, models[i], test_device);
|
qtest_add_data_func(path, models[i], test_device);
|
||||||
|
g_free(path);
|
||||||
}
|
}
|
||||||
|
|
||||||
return g_test_run();
|
return g_test_run();
|
||||||
|
|
Loading…
Reference in New Issue