Skip to content

Commit

Permalink
Close the correct file handle, to avoid leaking file handles and hitt…
Browse files Browse the repository at this point in the history
…ing "too many open files" limits in pathological cases.
  • Loading branch information
iay committed Jul 30, 2012
1 parent 5224032 commit 209e19e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/check_embedded.pl
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ sub comment {
$total_certs++;
if (defined($blobs{$blob})) {
# print "skipping a blob\n";
close SSL;
close $fh;
next;
}

Expand Down

0 comments on commit 209e19e

Please sign in to comment.