From c619ad510b39a07c76cc6a112e4a065e0b8d1b14 Mon Sep 17 00:00:00 2001 From: Sven Verdoolaege Date: Wed, 6 Jul 2005 08:37:12 +0200 Subject: [PATCH] [PATCH] Fix fd leak in git-cvsimport-script Remember to close temporary file Signed-off-by: Linus Torvalds --- git-cvsimport-script | 1 + 1 file changed, 1 insertion(+) diff --git a/git-cvsimport-script b/git-cvsimport-script index 4c0333b92..6d5a7fad3 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); } -- 2.26.2