projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f0c9d64
)
tests: fix eepro100-test leak
author
Marc-André Lureau
<marcandre.lureau@redhat.com>
Sun, 5 Feb 2017 20:07:30 +0000
(20:07 +0000)
committer
Marc-André Lureau
<marcandre.lureau@redhat.com>
Wed, 1 Mar 2017 07:51:05 +0000
(11:51 +0400)
Spotted by ASAN.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Stefan Weil <sw@weilnetz.de>
tests/eepro100-test.c
patch
|
blob
|
history
diff --git
a/tests/eepro100-test.c
b/tests/eepro100-test.c
index ed23258b0f515044c9da7960f356f8d9284c79d1..bdc8a67d570f6f16eec6f94049a96f0b9c5112f2 100644
(file)
--- 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();