Skip to content

Fixes a crash with vanguard hashed sounds, as well as preventing a memory leak in GameBlackOps4.cpp (heap allocation never cleared)#51

Closed
echo000 wants to merge 3 commits intoScobalula:masterfrom
echo000:master
Closed

Fixes a crash with vanguard hashed sounds, as well as preventing a memory leak in GameBlackOps4.cpp (heap allocation never cleared)#51
echo000 wants to merge 3 commits intoScobalula:masterfrom
echo000:master

Conversation

echo000 added 2 commits March 31, 2023 00:55
Fixes crash with vanguard hashed sounds
delete[] is never called for Decryption table, and is allocated to the heap, so will leak. Does not seem to be used outside of BlackOps4.cpp, removing the pointer, and instead allocating on the stack without the new keywork stops this memory leak and doesn't seem to break any of the functionality of it.
@echo000 echo000 changed the title Fixes a crash with vanguard hashed sounds Fixes a crash with vanguard hashed sounds, as well as preventing a memory leak in GameBlackOps4.cpp (heap allocation never cleared) Apr 5, 2023
@echo000 echo000 closed this by deleting the head repository Dec 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant