From: Tobias Burnus Date: Tue, 13 Oct 2020 09:54:26 +0000 (+0200) Subject: nvptx/mkoffload.c: Add missing fclose X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=35103c6d8e3ee24a2497888bb1f7ef37327ace2b;p=gcc.git nvptx/mkoffload.c: Add missing fclose gcc/ChangeLog: * config/nvptx/mkoffload.c (main): Add missing fclose (in). --- 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);