Spotted by ASAN. Signed-off-by: Marc-André Lureau <marcandre.lur...@redhat.com> --- tests/e1000-test.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/tests/e1000-test.c b/tests/e1000-test.c index 59cab68a60..0c5fcdcc44 100644 --- a/tests/e1000-test.c +++ b/tests/e1000-test.c @@ -44,6 +44,7 @@ int main(int argc, char **argv) path = g_strdup_printf("e1000/%s", models[i]); qtest_add_data_func(path, models[i], test_device); + g_free(path); } return g_test_run(); -- 2.11.0.295.gd7dffce1c.dirty