Author: janderwald
Date: Thu Mar 12 17:01:56 2009
New Revision: 39982
URL:
http://svn.reactos.org/svn/reactos?rev=39982&view=rev
Log:
- Don't use a tag if there is none assigned
- Fixes a crash in es1370mp driver
Modified:
trunk/reactos/drivers/ksfilter/ks/worker.c
Modified: trunk/reactos/drivers/ksfilter/ks/worker.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/ksfilter/ks/worker…
==============================================================================
--- trunk/reactos/drivers/ksfilter/ks/worker.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/ksfilter/ks/worker.c [iso-8859-1] Thu Mar 12 17:01:56 2009
@@ -35,7 +35,7 @@
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 @@
KeReleaseSpinLock(&KsWorker->Lock, OldIrql);
}
- ExFreePoolWithTag(KsWorker, 0);
+ ExFreePool(KsWorker);
}
/*