From 993700ad19162c606657a15a25b41956052db09f Mon Sep 17 00:00:00 2001 From: Alessandro Ferro Date: Mon, 24 Apr 2023 10:35:46 +0200 Subject: [PATCH] Double free --- dircomp.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dircomp.c b/dircomp.c index 5bff1c8..9f8b96b 100644 --- a/dircomp.c +++ b/dircomp.c @@ -36,8 +36,7 @@ int main(int argc, char *argv[]) { printf("Directories are not equal\n"); } - free(arguments.directory1); - free(arguments.directory2); + return 0; }