aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2020-05-08 10:25:38 +0200
committerDaniel Stenberg <daniel@haxx.se>2020-05-08 17:00:29 +0200
commit92501a12a235ebebfffad043286c592a8b0e561b (patch)
tree012155b95fef9a084597ae0cd3b3388110f94417
parent1fa3733997cacc0c265d96783120b4b4be1a65bb (diff)
checksrc: close the .checksrc file handle when done reading
-rwxr-xr-xlib/checksrc.pl1
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 {