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

VolumetricFog memory leak fix #2002

merged 1 commit into from May 15, 2017


None yet
2 participants
Copy link

OTHGMars commented May 7, 2017

Fixes a memory leak on clients and prevents a crash from deleting a RTT target while it's still registered with the GFX device.

Fixes a memory leak in the VolumetricFog object and corrects an array…
… alloc mismatch. Once objects were being deleted on the client, the SAFE_DELETE(z_buf) needed to be removed from the destructor. This was causing a runtime crash (release only) because z_buf was still registered with the GFX device.

This comment has been minimized.

Copy link

Areloch commented May 8, 2017

Ah, nice!

@Areloch Areloch added the Bugfix label May 8, 2017

@Areloch Areloch merged commit f5347f9 into GarageGames:development May 15, 2017

Areloch added a commit that referenced this pull request Apr 5, 2018

Merge pull request #2002 from OTHGMars/VolFogLeak
VolumetricFog memory leak fix

@OTHGMars OTHGMars deleted the OTHGMars:VolFogLeak branch Jul 18, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.