mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-01 23:03:54 -06:00
tests: fix leak in test-string-input-visitor
Free the list returned by visit_type_intList(). Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com>
This commit is contained in:
parent
3972a4884d
commit
bd794065ff
1 changed files with 1 additions and 0 deletions
|
@ -228,6 +228,7 @@ static void test_visitor_in_fuzz(TestInputVisitorData *data,
|
|||
|
||||
v = visitor_input_test_init(data, buf);
|
||||
visit_type_intList(v, NULL, &ilres, NULL);
|
||||
qapi_free_intList(ilres);
|
||||
visitor_input_teardown(data, NULL);
|
||||
|
||||
v = visitor_input_test_init(data, buf);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue