Browse Source

[PATCH] Fix fd leak in git-cvsimport-script

Remember to close temporary file

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
maint
Sven Verdoolaege 20 years ago committed by Linus Torvalds
parent
commit
c619ad510b
  1. 1
      git-cvsimport-script

1
git-cvsimport-script

@ -317,6 +317,7 @@ sub 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);
}

Loading…
Cancel
Save