[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH for-2.7 v4 12/36] tests: fix leak in test-string-inp
From: |
marcandre . lureau |
Subject: |
[Qemu-devel] [PATCH for-2.7 v4 12/36] tests: fix leak in test-string-input-visitor |
Date: |
Fri, 5 Aug 2016 12:23:57 +0400 |
From: Marc-André Lureau <address@hidden>
Free the list returned by visit_type_intList().
Signed-off-by: Marc-André Lureau <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
---
tests/test-string-input-visitor.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/test-string-input-visitor.c
b/tests/test-string-input-visitor.c
index d837ebe..a679fbc 100644
--- a/tests/test-string-input-visitor.c
+++ b/tests/test-string-input-visitor.c
@@ -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);
--
2.9.0
- Re: [Qemu-devel] [PATCH for-2.7 v4 04/36] qga: free the whole blacklist, (continued)
- [Qemu-devel] [PATCH for-2.7 v4 05/36] qga: free remaining leaking state, marcandre . lureau, 2016/08/05
- [Qemu-devel] [PATCH for-2.7 v4 06/36] tests: fix test-cutils leaks, marcandre . lureau, 2016/08/05
- [Qemu-devel] [PATCH for-2.7 v4 07/36] tests: fix test-vmstate leaks, marcandre . lureau, 2016/08/05
- [Qemu-devel] [PATCH for-2.7 v4 08/36] tests: fix test-iov leaks, marcandre . lureau, 2016/08/05
- [Qemu-devel] [PATCH for-2.7 v4 09/36] tests: fix check-qom-interface leaks, marcandre . lureau, 2016/08/05
- [Qemu-devel] [PATCH for-2.7 v4 10/36] tests: fix check-qom-proplist leaks, marcandre . lureau, 2016/08/05
- [Qemu-devel] [PATCH for-2.7 v4 11/36] tests: fix small leak in test-io-channel-command, marcandre . lureau, 2016/08/05
- [Qemu-devel] [PATCH for-2.7 v4 12/36] tests: fix leak in test-string-input-visitor,
marcandre . lureau <=
- [Qemu-devel] [PATCH for-2.7 v4 13/36] portio: keep references on portio, marcandre . lureau, 2016/08/05
- [Qemu-devel] [PATCH for-2.7 v4 14/36] numa: do not leak NumaOptions, marcandre . lureau, 2016/08/05
- [Qemu-devel] [PATCH for-2.7 v4 15/36] pc: simplify passing qemu_irq, marcandre . lureau, 2016/08/05
- [Qemu-devel] [PATCH for-2.7 v4 16/36] pc: don't leak a20_line, marcandre . lureau, 2016/08/05
- [Qemu-devel] [PATCH for-2.7 v4 17/36] machine: use class base init generated name, marcandre . lureau, 2016/08/05
- [Qemu-devel] [PATCH for-2.7 v4 18/36] acpi-build: fix array leak, marcandre . lureau, 2016/08/05
- [Qemu-devel] [PATCH for-2.7 v4 19/36] char: free the tcp connection data when closing, marcandre . lureau, 2016/08/05
- [Qemu-devel] [PATCH for-2.7 v4 20/36] char: free MuxDriver when closing, marcandre . lureau, 2016/08/05
- [Qemu-devel] [PATCH for-2.7 v4 21/36] tests: fix qom-test leaks, marcandre . lureau, 2016/08/05