From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50460) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XPwNz-0003TE-HQ for qemu-devel@nongnu.org; Fri, 05 Sep 2014 12:29:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XPwNt-0002xZ-04 for qemu-devel@nongnu.org; Fri, 05 Sep 2014 12:29:19 -0400 Received: from mx1.redhat.com ([209.132.183.28]:21354) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XPwNs-0002xQ-PJ for qemu-devel@nongnu.org; Fri, 05 Sep 2014 12:29:12 -0400 From: Stefan Hajnoczi Date: Fri, 5 Sep 2014 17:13:49 +0100 Message-Id: <1409933634-11331-22-git-send-email-stefanha@redhat.com> In-Reply-To: <1409933634-11331-1-git-send-email-stefanha@redhat.com> References: <1409933634-11331-1-git-send-email-stefanha@redhat.com> Subject: [Qemu-devel] [PULL 21/26] qtest/ide: Uninitialize PC allocator List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Peter Maydell , John Snow , Stefan Hajnoczi From: John Snow Use the new call to pc_alloc_uninit as a test for the new pathways. The leak checking / assert pathways are not enabled in this patch, leaving this as an option to future test writers. Signed-off-by: John Snow Signed-off-by: Stefan Hajnoczi --- tests/ide-test.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/ide-test.c b/tests/ide-test.c index ffce6ed..b7a97e9 100644 --- a/tests/ide-test.c +++ b/tests/ide-test.c @@ -126,6 +126,8 @@ static void ide_test_start(const char *cmdline_fmt, ...) static void ide_test_quit(void) { + pc_alloc_uninit(guest_malloc); + guest_malloc = NULL; qtest_end(); } -- 1.9.3