diff options
author | Tobias Burnus <tobias@codesourcery.com> | 2020-10-13 11:54:26 +0200 |
---|---|---|
committer | Tobias Burnus <tobias@codesourcery.com> | 2020-10-13 11:55:27 +0200 |
commit | 35103c6d8e3ee24a2497888bb1f7ef37327ace2b (patch) | |
tree | d98a15d32e94a4d23fd3da88f04eb8c16a49d8c9 /gcc | |
parent | 8e0e9417ccda583a1bf05ff08e86fdffbec62b3e (diff) | |
download | gcc-35103c6d8e3ee24a2497888bb1f7ef37327ace2b.zip gcc-35103c6d8e3ee24a2497888bb1f7ef37327ace2b.tar.gz gcc-35103c6d8e3ee24a2497888bb1f7ef37327ace2b.tar.bz2 |
nvptx/mkoffload.c: Add missing fclose
gcc/ChangeLog:
* config/nvptx/mkoffload.c (main): Add missing fclose (in).
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/config/nvptx/mkoffload.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/config/nvptx/mkoffload.c b/gcc/config/nvptx/mkoffload.c index 4fecb2b..7c43e61 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); |