Synchronize with trunk revision 59636 (just before Alex's CreateProcess revamp).
[reactos.git] / ntoskrnl / config / cmhook.c
index 4f1b86f..7f8acdf 100644 (file)
@@ -180,7 +180,7 @@ CmUnRegisterCallback(IN LARGE_INTEGER Cookie)
                 ExReleaseFastMutex(&CmiCallbackLock);
 
                 /* free the callback */
-                ExFreePool(CurrentCallback);
+                ExFreePoolWithTag(CurrentCallback, 'bcMC');
                 return STATUS_SUCCESS;
             }
             else