From eccec3c6d394aa17ce4faa055458dcecddff6f36 Mon Sep 17 00:00:00 2001 From: EmptyChaos Date: Sat, 10 Sep 2016 04:38:04 +0000 Subject: 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. --- Source/Core/DiscIO/NANDContentLoader.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Source/Core/DiscIO/NANDContentLoader.cpp') diff --git a/Source/Core/DiscIO/NANDContentLoader.cpp b/Source/Core/DiscIO/NANDContentLoader.cpp index 7e108f98e2..98978d98b0 100644 --- a/Source/Core/DiscIO/NANDContentLoader.cpp +++ b/Source/Core/DiscIO/NANDContentLoader.cpp @@ -29,6 +29,8 @@ namespace DiscIO { +CNANDContentData::~CNANDContentData() = default; + CSharedContent::CSharedContent() { UpdateLocation(); -- cgit v1.2.3