Author: janderwald
Date: Tue Aug 11 11:36:41 2009
New Revision: 42608
URL:
http://svn.reactos.org/svn/reactos?rev=42608&view=rev
Log:
- Fix allocation check
- Found by Amine Khaldi
Modified:
trunk/reactos/drivers/wdm/audio/filters/kmixer/pin.c
Modified: trunk/reactos/drivers/wdm/audio/filters/kmixer/pin.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/wdm/audio/filters/…
==============================================================================
--- trunk/reactos/drivers/wdm/audio/filters/kmixer/pin.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/wdm/audio/filters/kmixer/pin.c [iso-8859-1] Tue Aug 11 11:36:41
2009
@@ -65,7 +65,7 @@
}
ResultOut = ExAllocatePool(NonPagedPool, NewSamples * NumChannels * BytesPerSample);
- if (!FloatOut)
+ if (!ResultOut)
{
ExFreePool(FloatIn);
ExFreePool(FloatOut);