mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-12-14 12:09:36 +00:00
Handle refactor
This commit is contained in:
@@ -261,7 +261,7 @@ PLError_t LoadMusicSounds (void)
|
||||
return PLErrors::kOutOfMemory;
|
||||
|
||||
BlockMove((Ptr)(static_cast<Byte*>(*theSound) + 20L), theMusicData[i], soundDataSize);
|
||||
DisposeHandle(theSound);
|
||||
theSound.Dispose();
|
||||
}
|
||||
return (theErr);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user