Memory leak fix by Magliocchetti Riccardo.
This commit is contained in:
parent
551e68ff70
commit
c24fbedc62
|
@ -867,6 +867,12 @@ cflash_close( void) {
|
|||
if (dirEntryLink != NULL)
|
||||
free(dirEntryLink);
|
||||
|
||||
if (dirEntriesInCluster != NULL)
|
||||
free(dirEntriesInCluster);
|
||||
|
||||
if (dirEntryPtr != NULL)
|
||||
free(dirEntryPtr);
|
||||
|
||||
if (activeDirEnt != -1)
|
||||
fclose(hFile);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue