mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 19:26:32 +00:00
- Fix allocation check
- Found by Amine Khaldi svn path=/trunk/; revision=42608
This commit is contained in:
@@ -65,7 +65,7 @@ PerformSampleRateConversion(
|
||||
}
|
||||
|
||||
ResultOut = ExAllocatePool(NonPagedPool, NewSamples * NumChannels * BytesPerSample);
|
||||
if (!FloatOut)
|
||||
if (!ResultOut)
|
||||
{
|
||||
ExFreePool(FloatIn);
|
||||
ExFreePool(FloatOut);
|
||||
|
||||
Reference in New Issue
Block a user