mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-06-28 09:59:41 -06:00
Fix some memory leaks
Free some objects that were allocated with new but not deleted, and in one case, do not set a pointer to nullptr before deleting, as this results in a memory leak due to memory allocated not being freed.
This commit is contained in:
@ -146,6 +146,7 @@ CameraManager::~CameraManager()
|
||||
// save settings here?
|
||||
|
||||
delete[] frameBuffer;
|
||||
delete[] tempFrameBuffer;
|
||||
}
|
||||
|
||||
void CameraManager::init()
|
||||
|
Reference in New Issue
Block a user