sample: remove memleak test code in sample_x86.c

This commit is contained in:
Nguyen Anh Quynh 2016-01-11 00:08:04 +08:00
parent 2a269acac1
commit 7c9f851e72

View file

@ -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]);
}