diff --git a/ntoskrnl/ob/obsecure.c b/ntoskrnl/ob/obsecure.c index 135b7b2f5e1..649ba4ea283 100644 --- a/ntoskrnl/ob/obsecure.c +++ b/ntoskrnl/ob/obsecure.c @@ -718,7 +718,7 @@ ObReleaseObjectSecurity(IN PSECURITY_DESCRIPTOR SecurityDescriptor, if (MemoryAllocated) { /* Free it */ - ExFreePool(SecurityDescriptor); + ExFreePoolWithTag(SecurityDescriptor, TAG_SEC_QUERY); } else {