commit | c619ad510b39a07c76cc6a112e4a065e0b8d1b14 | [log] [tgz] |
---|---|---|
author | Sven Verdoolaege <skimo@kotnet.org> | Wed Jul 06 08:37:12 2005 +0200 |
committer | Linus Torvalds <torvalds@g5.osdl.org> | Wed Jul 06 08:47:08 2005 -0700 |
tree | da89b0c91b6610966a5d41d5461fe8849321009a | |
parent | 5b35bcd53a1cf12c657197d15db0fb2a5dca7b96 [diff] [blame] |
[PATCH] Fix fd leak in git-cvsimport-script Remember to close temporary file Signed-off-by: Linus Torvalds <torvalds@osdl.org>
diff --git a/git-cvsimport-script b/git-cvsimport-script index 4c0333b..6d5a7fa 100755 --- a/git-cvsimport-script +++ b/git-cvsimport-script
@@ -317,6 +317,7 @@ $res = $self->_line($fh); die "No input: $fn $rev\n" unless defined $res; } + close ($fh); return ($name, $res); }