From: Wenchao Xia <xiaw...@linux.vnet.ibm.com> Signed-off-by: Wenchao Xia <xiaw...@linux.vnet.ibm.com> Reviewed-by: Eric Blake <ebl...@redhat.com> Message-id: 1383676551-18806-3-git-send-email-xiaw...@linux.vnet.ibm.com Cc: qemu-sta...@nongnu.org Signed-off-by: Anthony Liguori <aligu...@amazon.com> (cherry picked from commit 8aa15b6e527f234e491a6d354bed4d10da3a01a7)
Signed-off-by: Michael Roth <mdr...@linux.vnet.ibm.com> --- tests/test-qmp-input-visitor.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test-qmp-input-visitor.c b/tests/test-qmp-input-visitor.c index 0beb8fb..1e1c6fa 100644 --- a/tests/test-qmp-input-visitor.c +++ b/tests/test-qmp-input-visitor.c @@ -604,6 +604,7 @@ static void test_visitor_in_errors(TestInputVisitorData *data, g_assert(error_is_set(&errp)); g_assert(p->string == NULL); + error_free(errp); g_free(p->string); g_free(p); } -- 1.7.9.5