From c68c925bba260da9e7a97ef81a68feb502f44b76 Mon Sep 17 00:00:00 2001 From: nakst <> Date: Fri, 18 Feb 2022 12:56:27 +0000 Subject: [PATCH] build: fix warnings from newest gcc --- util/build.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/build.c b/util/build.c index 44d1e81..82d5d13 100644 --- a/util/build.c +++ b/util/build.c @@ -953,7 +953,7 @@ void AddressToLine(const char *symbolFile) { putchar('0'); i = si; } else { - free(file); + fclose(file); fputs(strstr(result, "essence") ?: "", stdout); system("rm -f bin/result.tmp"); i--;