[NTOS:OB]
authorEric Kohl <eric.kohl@reactos.org>
Wed, 8 Mar 2017 22:27:06 +0000 (22:27 +0000)
committerEric Kohl <eric.kohl@reactos.org>
Wed, 8 Mar 2017 22:27:06 +0000 (22:27 +0000)
Replace calls to ExFreePool by calls to ExFreePoolWithTag.

svn path=/trunk/; revision=74132

reactos/ntoskrnl/ob/obinit.c
reactos/ntoskrnl/ob/obname.c

index e2a8335..8e3cd0b 100644 (file)
@@ -126,7 +126,7 @@ ObpFreeKernelObjectsSD(IN OUT PSECURITY_DESCRIPTOR SecurityDescriptor)
                                           &Defaulted);
     if (NT_SUCCESS(Status) && Dacl != NULL)
     {
-        ExFreePool(Dacl);
+        ExFreePoolWithTag(Dacl, TAG_OB_DIR_SD);
     }
 }
 
index a6d8e29..83cf5a3 100644 (file)
@@ -123,7 +123,7 @@ ObpFreeGlobalDosDevicesSD(IN OUT PSECURITY_DESCRIPTOR SecurityDescriptor)
                                           &Defaulted);
     if (NT_SUCCESS(Status) && Dacl != NULL)
     {
-        ExFreePool(Dacl);
+        ExFreePoolWithTag(Dacl, TAG_OB_DIR_SD);
     }
 }