summaryrefslogtreecommitdiff
path: root/Source/Core/DiscIO/NANDContentLoader.cpp
diff options
context:
space:
mode:
authorEmptyChaos <EmptyChaos@users.noreply.github.com>2016-09-10 04:38:04 +0000
committerEmptyChaos <EmptyChaos@users.noreply.github.com>2016-09-14 15:54:05 +1000
commiteccec3c6d394aa17ce4faa055458dcecddff6f36 (patch)
tree86041f39f0046012348cf98a7c8a0059919c3e33 /Source/Core/DiscIO/NANDContentLoader.cpp
parent54a643a4a30caf2d6349139832695ec9e8e24ff6 (diff)
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.
Diffstat (limited to 'Source/Core/DiscIO/NANDContentLoader.cpp')
-rw-r--r--Source/Core/DiscIO/NANDContentLoader.cpp2
1 files changed, 2 insertions, 0 deletions
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();