storage/Interface: wrap StorageDirectoryReader in std::unique_ptr

This commit is contained in:
Max Kellermann
2018-01-21 11:04:30 +01:00
parent a9847ebf54
commit 61eb2aa328
9 changed files with 29 additions and 33 deletions

View File

@@ -82,7 +82,6 @@ Ls(Storage &storage, const char *path)
mtime, name);
}
delete dir;
return EXIT_SUCCESS;
}