mirror of
https://github.com/reactos/reactos.git
synced 2024-11-20 14:30:57 +00:00
- Fix allocation check
- Found by Amine Khaldi svn path=/trunk/; revision=42608
This commit is contained in:
parent
fad9ff3860
commit
20a819d000
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ PerformSampleRateConversion(
|
|||
}
|
||||
|
||||
ResultOut = ExAllocatePool(NonPagedPool, NewSamples * NumChannels * BytesPerSample);
|
||||
if (!FloatOut)
|
||||
if (!ResultOut)
|
||||
{
|
||||
ExFreePool(FloatIn);
|
||||
ExFreePool(FloatOut);
|
||||
|
|
Loading…
Reference in a new issue