mirror of
https://github.com/reactos/reactos.git
synced 2025-04-25 16:10:29 +00:00
Don't access the font structure after it was freed. Spotted by Stefan.
svn path=/trunk/; revision=40079
This commit is contained in:
parent
8f4fd76b65
commit
b12cd7a282
1 changed files with 3 additions and 3 deletions
|
@ -126,12 +126,12 @@ FtfdUnloadFontFile(
|
|||
FT_Done_Face(pfile->aftface[i]);
|
||||
}
|
||||
|
||||
/* Free the memory that was allocated for the font */
|
||||
EngFreeMem(pfile);
|
||||
|
||||
/* Unmap the font file */
|
||||
EngUnmapFontFileFD(pfile->iFile);
|
||||
|
||||
/* Free the memory that was allocated for the font */
|
||||
EngFreeMem(pfile);
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue