diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2017-02-05 21:02:40 +0000 |
---|---|---|
committer | Marc-André Lureau <marcandre.lureau@redhat.com> | 2017-03-01 11:51:28 +0400 |
commit | 8829e16f5ef7034ab730370ba34ce2c835da17c4 (patch) | |
tree | d02040ebbe5a730628fd774f568fa912679102e0 /tests | |
parent | 34779e8c3991f7fcd74b2045478abcef67dbeb15 (diff) |
tests: fix e1000-test leak
Spotted by ASAN.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/e1000-test.c | 1 |
1 files changed, 1 insertions, 0 deletions
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(); |