diff --git a/reactos/drivers/video/font/ftfd/font.c b/reactos/drivers/video/font/ftfd/font.c index 5b48df8bd5a..2fc8510b15d 100644 --- a/reactos/drivers/video/font/ftfd/font.c +++ b/reactos/drivers/video/font/ftfd/font.c @@ -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; }