From 92501a12a235ebebfffad043286c592a8b0e561b Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 8 May 2020 10:25:38 +0200 Subject: checksrc: close the .checksrc file handle when done reading --- lib/checksrc.pl | 1 + 1 file changed, 1 insertion(+) (limited to 'lib') 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 { -- cgit v1.2.3