diff --git a/reactos/drivers/video/font/bmfd/font.c b/reactos/drivers/video/font/bmfd/font.c index ec7f8f5e062..19646288a2d 100644 --- a/reactos/drivers/video/font/bmfd/font.c +++ b/reactos/drivers/video/font/bmfd/font.c @@ -302,12 +302,12 @@ BmfdUnloadFontFile( DbgPrint("BmfdUnloadFontFile()\n"); - /* 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; }