From 7c9f851e72b8b666f3f2e6388150a8da46bee99f Mon Sep 17 00:00:00 2001 From: Nguyen Anh Quynh Date: Mon, 11 Jan 2016 00:08:04 +0800 Subject: [PATCH] sample: remove memleak test code in sample_x86.c --- samples/sample_x86.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/samples/sample_x86.c b/samples/sample_x86.c index b6d55401..87a6d60f 100644 --- a/samples/sample_x86.c +++ b/samples/sample_x86.c @@ -914,14 +914,6 @@ int main(int argc, char **argv, char **envp) if (!strcmp(argv[1], "-16")) { test_x86_16(); } - - // test memleak - if (!strcmp(argv[1], "-0")) { - while(1) { - test_i386(); - // test_x86_64(); - } - } } else { printf("Syntax: %s <-16|-32|-64>\n", argv[0]); }