Don't leak data returned by opendir

This commit is contained in:
Nik Bougalis 2014-09-05 20:47:57 -07:00
parent d1cfb71ec7
commit 9f8aa09395

View File

@ -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;
} }
} }