mirror of
https://github.com/storytold/RuntimeAudioImporter.git
synced 2026-10-09 00:09:48 +00:00
minor memory free fix
This commit is contained in:
-2
@@ -137,8 +137,6 @@ URuntimeAudioImporterLibrary* URuntimeAudioImporterLibrary::GetUSoundWaveFromAud
|
||||
}
|
||||
else {
|
||||
if (TranscodeAudioFileToPCMData(TCHAR_TO_ANSI(*filePath), Format, Status, framesToWrite, pSampleData, channels, sampleRate) == false) {
|
||||
FMemory::Free(pSampleData);
|
||||
|
||||
// Callback Dispatcher OnResult
|
||||
OnResult_Internal(nullptr, Status);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user