From 35103c6d8e3ee24a2497888bb1f7ef37327ace2b Mon Sep 17 00:00:00 2001 From: Tobias Burnus Date: Tue, 13 Oct 2020 11:54:26 +0200 Subject: [PATCH] nvptx/mkoffload.c: Add missing fclose gcc/ChangeLog: * config/nvptx/mkoffload.c (main): Add missing fclose (in). --- gcc/config/nvptx/mkoffload.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gcc/config/nvptx/mkoffload.c b/gcc/config/nvptx/mkoffload.c index 4fecb2b9cfe..7c43e617dcf 100644 --- a/gcc/config/nvptx/mkoffload.c +++ b/gcc/config/nvptx/mkoffload.c @@ -594,6 +594,7 @@ main (int argc, char **argv) fatal_error (input_location, "cannot open intermediate ptx file"); process (in, out); + fclose (in); } fclose (out); -- 2.30.2