Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
wants to merge 3 commits into from

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