diff options
author | Sven Verdoolaege <skimo@kotnet.org> | 2005-07-06 08:37:12 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-07-06 08:47:08 -0700 |
commit | c619ad510b39a07c76cc6a112e4a065e0b8d1b14 (patch) | |
tree | da89b0c91b6610966a5d41d5461fe8849321009a | |
parent | 5b35bcd53a1cf12c657197d15db0fb2a5dca7b96 (diff) | |
download | git-c619ad510b39a07c76cc6a112e4a065e0b8d1b14.tar.gz |
[PATCH] Fix fd leak in git-cvsimport-script
Remember to close temporary file
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rwxr-xr-x | git-cvsimport-script | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/git-cvsimport-script b/git-cvsimport-script index 4c0333b929..6d5a7fad38 100755 --- a/git-cvsimport-script +++ b/git-cvsimport-script @@ -317,6 +317,7 @@ sub file { $res = $self->_line($fh); die "No input: $fn $rev\n" unless defined $res; } + close ($fh); return ($name, $res); } |