Davidah121 / SMPL

A static C++ library that encompasses all of the tools I have made to make development easier.
1 stars 0 forks source link

Investigate Potential Memory leak #110

Closed Davidah121 closed 2 years ago

Davidah121 commented 2 years ago

A potential memory leak with SimpleWindow centered around the initBitmap function. Seems to always add more total memory allocated to the program instead of staying the same.

Happens in both Debug and Release builds but much less in Release builds. May not be anything either.

Davidah121 commented 2 years ago

Potentially fixed. Issues arise due to SanitizeAddress as it does not seem to delete memory in expected ways.

In Release builds, the issues have been resolved as far as I can tell from Task Manager and Process Hacker 2.