mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 17:34:57 +00:00
- Don't use a tag if there is none assigned
- Fixes a crash in es1370mp driver svn path=/trunk/; revision=39982
This commit is contained in:
parent
372ea0433e
commit
b2f937d0fe
1 changed files with 2 additions and 2 deletions
|
@ -35,7 +35,7 @@ KsRegisterWorker(
|
|||
return STATUS_INVALID_PARAMETER;
|
||||
}
|
||||
|
||||
KsWorker = ExAllocatePoolWithTag(NonPagedPool, sizeof(KS_WORKER), 0);
|
||||
KsWorker = ExAllocatePool(NonPagedPool, sizeof(KS_WORKER));
|
||||
if (!KsWorker)
|
||||
return STATUS_INSUFFICIENT_RESOURCES;
|
||||
|
||||
|
@ -80,7 +80,7 @@ KsUnregisterWorker(
|
|||
KeReleaseSpinLock(&KsWorker->Lock, OldIrql);
|
||||
}
|
||||
|
||||
ExFreePoolWithTag(KsWorker, 0);
|
||||
ExFreePool(KsWorker);
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue