You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In free cluster chain func:
two mistakes:
1.
fat_entry starts from FAT[cluster], and in the while loop, the fat_entry is updated again before set FAT[cluster] to 0x0, thus cause the FAT[cluster] not dereferenced.
2.
The last eoc in fat not been released!
This cause 2 clusters leakage in a single free cluster call.
The text was updated successfully, but these errors were encountered:
In free cluster chain func:
two mistakes:
1.
fat_entry starts from FAT[cluster], and in the while loop, the fat_entry is updated again before set FAT[cluster] to 0x0, thus cause the FAT[cluster] not dereferenced.
2.
The last eoc in fat not been released!
This cause 2 clusters leakage in a single free cluster call.
The text was updated successfully, but these errors were encountered: