mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 04:08:55 +00:00
DiscIO: Fix NAND Memory Leak
CNANDContentData is a base class with a non-virtual destructor so derived classes don't get destroyed causing them to leak resources.
This commit is contained in:
parent
54a643a4a3
commit
eccec3c6d3
2 changed files with 3 additions and 0 deletions
|
@ -29,6 +29,8 @@
|
|||
|
||||
namespace DiscIO
|
||||
{
|
||||
CNANDContentData::~CNANDContentData() = default;
|
||||
|
||||
CSharedContent::CSharedContent()
|
||||
{
|
||||
UpdateLocation();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue