Don't leak data returned by opendir
This commit is contained in:
parent
d1cfb71ec7
commit
9f8aa09395
@ -541,6 +541,7 @@ void ManifestDumpCommand::DoCommand() {
|
|||||||
} else {
|
} else {
|
||||||
exec_state_ = LDBCommandExecuteResult::FAILED(
|
exec_state_ = LDBCommandExecuteResult::FAILED(
|
||||||
"Multiple MANIFEST files found; use --path to select one");
|
"Multiple MANIFEST files found; use --path to select one");
|
||||||
|
closedir(d);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user