Fix a small file handle "leak" pointed out by jjshoe on #asterisk.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@113838 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
parent
c4bcafc2fe
commit
96bf7bb27a
|
@ -80,6 +80,7 @@ sub process_credentials {
|
|||
(undef,$host) = split(/[,=]/, $_) if $_ =~ /host(name)?[,=]/i;
|
||||
(undef,$port) = split(/[,=]/, $_) if $_ =~ /port(num|no)?[,=]/i;
|
||||
}
|
||||
close ($fh);
|
||||
}
|
||||
|
||||
sub usage {
|
||||
|
|
Reference in New Issue