提交 9f8aa093 编写于 作者: N Nik Bougalis

Don't leak data returned by opendir

上级 d1cfb71e
......@@ -541,6 +541,7 @@ void ManifestDumpCommand::DoCommand() {
} else {
exec_state_ = LDBCommandExecuteResult::FAILED(
"Multiple MANIFEST files found; use --path to select one");
closedir(d);
return;
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册