1
0
mirror of https://github.com/postgrespro/pg_probackup.git synced 2024-12-11 11:41:33 +02:00

Free unnecessary file object

This commit is contained in:
Arthur Zakirov 2018-12-10 19:00:37 +03:00
parent 9ac30ada54
commit eead6b6307

View File

@ -443,6 +443,9 @@ dir_list_file(parray *files, const char *root, bool exclude, bool omit_symlink,
parray_append(files, file);
dir_list_file_internal(files, root, file, exclude, omit_symlink, black_list);
if (!add_root)
pgFileFree(file);
}
/*