]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
checksrc: close the .checksrc file handle when done reading
authorDaniel Stenberg <daniel@haxx.se>
Fri, 8 May 2020 08:25:38 +0000 (10:25 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 8 May 2020 15:00:29 +0000 (17:00 +0200)
lib/checksrc.pl

index b074f2744f44c5758f60ca6e104e78cd9d97e103..df93696d7839e398421855f9b92338f08ce12baa 100755 (executable)
@@ -120,6 +120,7 @@ sub readlocalfile {
             die "Invalid format in $dir/.checksrc on line $i\n";
         }
     }
+    close($rcfile);
 }
 
 sub checkwarn {