Skip to content

Commit

Permalink
Fix memory leak caused by DataLoader dtor
Browse files Browse the repository at this point in the history
Fix memory leak caused by DataLoader dtor, because the actual destructor
is not called.
  • Loading branch information
Riff Jiang committed Jul 13, 2014
1 parent 3449b1d commit 2af0286
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Source/Parser/DataLoader.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ class DataLoader :
{
public:
LIBPE_SINGLE_THREAD_OBJECT();
virtual ~DataLoader() {}
virtual PEParserType GetType() = 0;
virtual UINT64 GetSize() = 0;
virtual void * GetBuffer(UINT64 nOffset, UINT64 nSize) = 0;
Expand Down

0 comments on commit 2af0286

Please sign in to comment.