Author: cwittich Date: Wed Nov 28 02:25:56 2007 New Revision: 30827
URL: http://svn.reactos.org/svn/reactos?rev=30827&view=rev Log: use ExAllocatePoolWithTag instead of ExAllocatePool
Modified: trunk/reactos/drivers/filesystems/vfat/fcb.c
Modified: trunk/reactos/drivers/filesystems/vfat/fcb.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/filesystems/vfat/fc... ============================================================================== --- trunk/reactos/drivers/filesystems/vfat/fcb.c (original) +++ trunk/reactos/drivers/filesystems/vfat/fcb.c Wed Nov 28 02:25:56 2007 @@ -76,7 +76,7 @@ else PathNameBufferLength = 0;
- Fcb->PathNameBuffer = ExAllocatePool(NonPagedPool, PathNameBufferLength); + Fcb->PathNameBuffer = ExAllocatePoolWithTag(NonPagedPool, PathNameBufferLength, TAG_FCB); if (!Fcb->PathNameBuffer) { /* FIXME: what to do if no more memory? */ @@ -454,7 +454,7 @@ { return STATUS_OBJECT_NAME_INVALID; } - PathNameBuffer = ExAllocatePool(NonPagedPool, PathNameLength + sizeof(WCHAR)); + PathNameBuffer = ExAllocatePoolWithTag(NonPagedPool, PathNameLength + sizeof(WCHAR), TAG_FCB); if (!PathNameBuffer) { return STATUS_INSUFFICIENT_RESOURCES;