Merge pull request #4212 from EmptyChaos/nand-leak

DiscIO: Fix NAND Memory Leak
This commit is contained in:
Mat M 2016-09-14 11:30:02 -04:00 committed by GitHub
commit 564d04cdd3
2 changed files with 3 additions and 0 deletions

View File

@ -29,6 +29,8 @@
namespace DiscIO
{
CNANDContentData::~CNANDContentData() = default;
CSharedContent::CSharedContent()
{
UpdateLocation();

View File

@ -25,6 +25,7 @@ bool AddTicket(u64 title_id, const std::vector<u8>& ticket);
class CNANDContentData
{
public:
virtual ~CNANDContentData() = 0;
virtual void Open(){};
virtual const std::vector<u8> Get() = 0;
virtual bool GetRange(u32 start, u32 size, u8* buffer) = 0;