On 04.12.2012 2:15, pschweitzer(a)svn.reactos.org wrote:
> - ExFreePool(SharedRange);
> + ExFreePoolWithTag(SharedRange, 'FSRA');
> /* We need to rebuild the list of shared ranges. */
> DPRINT("Removing the lock entry %wZ (%08x%08x:%08x%08x)\n",
> &FileObject->FileName,
> @@ -1287,7 +1287,7 @@
> SharedRange = CONTAINING_RECORD(SharedEntry, LOCK_SHARED_RANGE, Entry);
> SharedEntry = SharedEntry->Flink;
> RemoveEntryList(SharedEntry);
> - ExFreePool(SharedRange);
> + ExFreePoolWithTag(SharedRange, 'FSRA');
> }
> while ((Entry = RtlGetElementGenericTable(&InternalInfo->RangeTable, 0)) != NULL)
> {
>
>
It would be a good idea to add this to TAG_ list of defines.