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
parent
2cbdba0c5c
commit
e9a2d29b33
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue