- Fix allocation check

- Found by Amine Khaldi

svn path=/trunk/; revision=42608
This commit is contained in:
Johannes Anderwald 2009-08-11 09:36:41 +00:00
parent fad9ff3860
commit 20a819d000

View file

@ -65,7 +65,7 @@ PerformSampleRateConversion(
}
ResultOut = ExAllocatePool(NonPagedPool, NewSamples * NumChannels * BytesPerSample);
if (!FloatOut)
if (!ResultOut)
{
ExFreePool(FloatIn);
ExFreePool(FloatOut);