1
0
Fork 0
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:
Sven Verdoolaege 2005-07-06 08:37:12 +02:00 committed by Linus Torvalds
parent 5b35bcd53a
commit c619ad510b

View File

@ -317,6 +317,7 @@ sub file {
$res = $self->_line($fh);
die "No input: $fn $rev\n" unless defined $res;
}
close ($fh);
return ($name, $res);
}