Avoid a double-free error. ntfs_empty_logfile() has no reason to close na/ni anyway, and is only called from ntfs_logfile_reset() which already closes them, so these lines can be safely removed.

edge.strict_endians
uvman 2006-07-21 23:16:09 +00:00
parent a1a13da74a
commit ae37e54d8c
1 changed files with 0 additions and 2 deletions

View File

@ -768,8 +768,6 @@ done:
ntfs_log_trace("Done.\n");
return 0;
io_error_exit:
ntfs_attr_close(na);
ntfs_inode_close(na->ni);
errno = err;
return -1;
}