fs_wait_async(ctx->fs);
}
for (i = 0; i < ctx->files_count; i++) {
- if (ctx->files[i] != NULL)
- fs_file_deinit(&ctx->files[i]);
+ fs_file_deinit(&ctx->files[i]);
}
}
{
struct metawrap_fs_file *file = (struct metawrap_fs_file *)_file;
- if (file->super_read != _file->parent && file->super_read != NULL)
+ if (file->super_read != _file->parent)
fs_file_deinit(&file->super_read);
str_free(&file->metadata_header);
fs_file_deinit(&_file->parent);
{
struct sis_queue_fs_file *file = (struct sis_queue_fs_file *)_file;
- if (_file->parent != NULL)
- fs_file_deinit(&_file->parent);
+ fs_file_deinit(&_file->parent);
i_free(file->file.path);
i_free(file);
}
{
struct compress_fs_file *file = (struct compress_fs_file *)_file;
- if (file->super_read != _file->parent && file->super_read != NULL)
+ if (file->super_read != _file->parent)
fs_file_deinit(&file->super_read);
fs_file_deinit(&_file->parent);
i_free(file->file.path);
{
struct crypt_fs_file *file = (struct crypt_fs_file *)_file;
- if (file->super_read != _file->parent && file->super_read != NULL)
+ if (file->super_read != _file->parent)
fs_file_deinit(&file->super_read);
fs_file_deinit(&_file->parent);
i_free(file->file.path);