mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-30 09:54:10 +03:00
Don't leak binaryBlob
This commit is contained in:
@@ -9,6 +9,8 @@ void musicclass::init()
|
||||
soundTracks.clear();
|
||||
musicTracks.clear();
|
||||
|
||||
musicReadBlob.clear();
|
||||
|
||||
soundTracks.push_back(SoundTrack( "sounds/jump.wav" ));
|
||||
soundTracks.push_back(SoundTrack( "sounds/jump2.wav" ));
|
||||
soundTracks.push_back(SoundTrack( "sounds/hurt.wav" ));
|
||||
@@ -60,7 +62,6 @@ void musicclass::init()
|
||||
musicWriteBlob.writeBinaryBlob("data/BinaryMusic.vvv");
|
||||
#endif
|
||||
|
||||
binaryBlob musicReadBlob;
|
||||
if (!musicReadBlob.unPackBinary("mmmmmm.vvv"))
|
||||
{
|
||||
mmmmmm = false;
|
||||
|
||||
Reference in New Issue
Block a user