Fixed memory leak while comparing attributes with bad sectors

When bad sectors were found when comparing attributes, the attribute
descriptors were not closed and freed (fixed by Rakesh Pandit)
edge.strict_endians
Jean-Pierre André 2013-09-09 19:46:00 +02:00
parent 2cbdba0c5c
commit e9a2d29b33
1 changed files with 1 additions and 1 deletions

View File

@ -704,7 +704,7 @@ static void cmp_attribute(ntfs_attr_search_ctx *ctx1,
* If difference exists then it's already reported at the
* attribute header since the mapping pairs must differ.
*/
return;
goto close_attribs;
}
if (na1->type == AT_INDEX_ALLOCATION)