No need to free lines before exit

This commit is contained in:
наб 2024-03-05 19:21:00 +01:00
parent fc57e89e37
commit 3d082a3efd
No known key found for this signature in database
GPG Key ID: BCFD0B018D2658F1
2 changed files with 4 additions and 6 deletions

View File

@ -265,18 +265,18 @@ msgstr "[-H] [-r|-d maks.] [-a|-b rodzaj-tzpfms] [-u|-l]"
msgid "[filesystem|volume]…"
msgstr "[system-plików|wolumin]…"
#: src/bin/zfs-tpm-list.cpp:152 src/bin/zfs-tpm-list.cpp:173
#: src/bin/zfs-tpm-list.cpp:149 src/bin/zfs-tpm-list.cpp:170
msgid "NAME"
msgstr "NAZWA"
#: src/bin/zfs-tpm-list.cpp:153 src/bin/zfs-tpm-list.cpp:173
#: src/bin/zfs-tpm-list.cpp:150 src/bin/zfs-tpm-list.cpp:170
msgid "BACK-END"
msgstr "RODZAJ"
#: src/bin/zfs-tpm-list.cpp:154 src/bin/zfs-tpm-list.cpp:173
#: src/bin/zfs-tpm-list.cpp:151 src/bin/zfs-tpm-list.cpp:170
msgid "KEYSTATUS"
msgstr "KLUCZ"
#: src/bin/zfs-tpm-list.cpp:173
#: src/bin/zfs-tpm-list.cpp:170
msgid "COHERENT"
msgstr "SPÓJNY"

View File

@ -116,8 +116,6 @@ int main(int argc, char ** argv) {
[&](auto libz) {
output_line * lines{};
size_t lines_len{};
quickscope_wrapper lines_deleter{[&] { free(lines); }};
TRY_MAIN(for_all_datasets(libz, argv + optind, maxdepth, [&](auto dataset) {
boolean_t dataset_is_root;