From baa5b4b9e640c07c2a45b8232ffc67306701685a Mon Sep 17 00:00:00 2001 From: Timo Kreuzer Date: Tue, 17 Mar 2009 21:39:17 +0000 Subject: [PATCH] "same thing in BmfdUnloadFontFile btw :p" Thanks Stefam again. svn path=/trunk/; revision=40080 --- reactos/drivers/video/font/bmfd/font.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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; }