Don't leak data returned by opendir

main
Nik Bougalis 10 years ago
parent d1cfb71ec7
commit 9f8aa09395
  1. 1
      util/ldb_cmd.cc

@ -541,6 +541,7 @@ void ManifestDumpCommand::DoCommand() {
} else {
exec_state_ = LDBCommandExecuteResult::FAILED(
"Multiple MANIFEST files found; use --path to select one");
closedir(d);
return;
}
}

Loading…
Cancel
Save