aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2017-02-05 20:07:30 +0000
committerMarc-André Lureau <marcandre.lureau@redhat.com>2017-03-01 11:51:05 +0400
commit6afff1ffa36909b164847ff276cc9cb575058f4c (patch)
treede7e94b188310a7fa6d59ba512786b624484957d /tests
parentf0c9d64a68b776374ec4732424a3e27753ce37b6 (diff)
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>
Diffstat (limited to 'tests')
-rw-r--r--tests/eepro100-test.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/eepro100-test.c b/tests/eepro100-test.c
index ed23258b0f..bdc8a67d57 100644
--- a/tests/eepro100-test.c
+++ b/tests/eepro100-test.c
@@ -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();