From be2cf1c5796cccde2f893b28972849b2c4566680 Mon Sep 17 00:00:00 2001 From: Thomas Bluemel Date: Fri, 21 Jan 2005 02:19:13 +0000 Subject: [PATCH] SeCaptureSecurityDescriptor() should take PoolType into account... svn path=/trunk/; revision=13176 --- reactos/ntoskrnl/se/sd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/ntoskrnl/se/sd.c b/reactos/ntoskrnl/se/sd.c index 07ad4d18f46..8f16846c9c0 100644 --- a/reactos/ntoskrnl/se/sd.c +++ b/reactos/ntoskrnl/se/sd.c @@ -300,7 +300,7 @@ SeCaptureSecurityDescriptor( ROUND_UP(SaclSize, sizeof(ULONG)) + ROUND_UP(DaclSize, sizeof(ULONG)); - NewDescriptor = ExAllocatePool(PagedPool, + NewDescriptor = ExAllocatePool(PoolType, DescriptorSize); if(NewDescriptor != NULL) {