From 407a527ae75110346effc150ba0cf6107d0483e6 Mon Sep 17 00:00:00 2001 From: flobernd Date: Wed, 10 Jan 2018 23:11:57 +0100 Subject: [PATCH] Improved `ZydisPerfTest` --- examples/ZydisPerfTest.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/examples/ZydisPerfTest.c b/examples/ZydisPerfTest.c index 95cab7d..d7331a0 100644 --- a/examples/ZydisPerfTest.c +++ b/examples/ZydisPerfTest.c @@ -412,11 +412,12 @@ int main(int argc, char** argv) testPerformance(buffer, length, ZYDIS_FALSE, ZYDIS_TRUE ); puts(""); -NextFile1: + NextFile1: free(buffer); -NextFile2: - fclose(file); } + + NextFile2: + fclose(file); } return 0;