diff options
author | Daniel Stenberg <daniel@haxx.se> | 2020-05-08 10:25:38 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2020-05-08 17:00:29 +0200 |
commit | 92501a12a235ebebfffad043286c592a8b0e561b (patch) | |
tree | 012155b95fef9a084597ae0cd3b3388110f94417 | |
parent | 1fa3733997cacc0c265d96783120b4b4be1a65bb (diff) |
checksrc: close the .checksrc file handle when done reading
-rwxr-xr-x | lib/checksrc.pl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/checksrc.pl b/lib/checksrc.pl index b074f2744..df93696d7 100755 --- a/lib/checksrc.pl +++ b/lib/checksrc.pl @@ -120,6 +120,7 @@ sub readlocalfile { die "Invalid format in $dir/.checksrc on line $i\n"; } } + close($rcfile); } sub checkwarn { |