提交 c619ad51 编写于 作者: S Sven Verdoolaege 提交者: Linus Torvalds

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

Remember to close temporary file
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 5b35bcd5
......@@ -317,6 +317,7 @@ sub file {
$res = $self->_line($fh);
die "No input: $fn $rev\n" unless defined $res;
}
close ($fh);
return ($name, $res);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册