- Allocate the memory from paged pool instead of non-paged pool as almost all code...
authorFilip Navara <filip.navara@gmail.com>
Thu, 18 Nov 2004 22:22:46 +0000 (22:22 +0000)
committerFilip Navara <filip.navara@gmail.com>
Thu, 18 Nov 2004 22:22:46 +0000 (22:22 +0000)
svn path=/trunk/; revision=11697

reactos/lib/freetype/rosglue.c

index 5ebd348..c416fbf 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: rosglue.c,v 1.2 2003/04/01 17:14:36 gvg Exp $\r
+/* $Id: rosglue.c,v 1.3 2004/11/18 22:22:46 navaraf Exp $\r
  *\r
  * COPYRIGHT:         See COPYING in the top level directory\r
  * PROJECT:           FreeType implementation for ReactOS\r
@@ -84,7 +84,7 @@ malloc(size_t Size)
 {
   void *Object;
 
-  Object = ExAllocatePoolWithTag(NonPagedPool, sizeof(size_t) + Size, TAG_FREETYPE);
+  Object = ExAllocatePoolWithTag(PagedPool, sizeof(size_t) + Size, TAG_FREETYPE);
   if (NULL != Object)
     {
     *((size_t *) Object) = Size;
@@ -100,7 +100,7 @@ realloc(void *Object, size_t Size)
   void *NewObject;
   size_t CopySize;
 
-  NewObject = ExAllocatePoolWithTag(NonPagedPool, sizeof(size_t) + Size, TAG_FREETYPE);
+  NewObject = ExAllocatePoolWithTag(PagedPool, sizeof(size_t) + Size, TAG_FREETYPE);
   if (NULL != NewObject)
     {
     *((size_t *) NewObject) = Size;