[ros-dev] [ros-diffs] [pschweitzer] 57792: [NTOSKRNL] ExFreePool -> ExFreePoolWithTag

Aleksey Bragin aleksey at reactos.org
Tue Dec 4 11:49:29 UTC 2012


On 04.12.2012 2:15, pschweitzer at 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.



More information about the Ros-dev mailing list