From 6594b15c96c7c25d499f272de705495230a9e1ad Mon Sep 17 00:00:00 2001 From: Filip Navara Date: Sat, 20 Dec 2003 14:19:47 +0000 Subject: [PATCH] Bugfix. svn path=/trunk/; revision=7132 --- reactos/subsys/win32k/eng/xlate.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reactos/subsys/win32k/eng/xlate.c b/reactos/subsys/win32k/eng/xlate.c index 15f8eca69fb..719f9612d69 100644 --- a/reactos/subsys/win32k/eng/xlate.c +++ b/reactos/subsys/win32k/eng/xlate.c @@ -16,7 +16,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ -/* $Id: xlate.c,v 1.27 2003/12/20 10:31:32 navaraf Exp $ +/* $Id: xlate.c,v 1.28 2003/12/20 14:19:47 navaraf Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -214,7 +214,7 @@ VOID FASTCALL EngDeleteXlate(XLATEOBJ *XlateObj) XlateGDI = (XLATEGDI *) AccessInternalObjectFromUserObject(XlateObj); HXlate = (HANDLE) AccessHandleFromUserObject(XlateObj); - if(NULL != XlateGDI->translationTable) + if((XlateObj->flXlate & XO_TABLE) && NULL != XlateGDI->translationTable) { EngFreeMem(XlateGDI->translationTable); }