Skip to content
Snippets Groups Projects
Commit e735c70c authored by Jason Parker's avatar Jason Parker
Browse files

Fix a small file handle "leak" pointed out by jjshoe on #asterisk.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@113838 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent 28bd5d88
Branches
Tags
No related merge requests found
...@@ -80,6 +80,7 @@ sub process_credentials { ...@@ -80,6 +80,7 @@ sub process_credentials {
(undef,$host) = split(/[,=]/, $_) if $_ =~ /host(name)?[,=]/i; (undef,$host) = split(/[,=]/, $_) if $_ =~ /host(name)?[,=]/i;
(undef,$port) = split(/[,=]/, $_) if $_ =~ /port(num|no)?[,=]/i; (undef,$port) = split(/[,=]/, $_) if $_ =~ /port(num|no)?[,=]/i;
} }
close ($fh);
} }
sub usage { sub usage {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment