mirror of
https://github.com/git/git.git
synced 2024-05-20 13:26:08 +02:00
[PATCH] Fix fd leak in git-cvsimport-script
Remember to close temporary file Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
5b35bcd53a
commit
c619ad510b
|
@ -317,6 +317,7 @@ sub file {
|
|||
$res = $self->_line($fh);
|
||||
die "No input: $fn $rev\n" unless defined $res;
|
||||
}
|
||||
close ($fh);
|
||||
|
||||
return ($name, $res);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue