Skip to content

Commit

Permalink
Fix memory leak in VTPFile.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
Kyle Hill committed Sep 6, 2012
1 parent 3d1f5ba commit 7a85eac
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions xbmc/filesystem/VTPFile.cpp
Expand Up @@ -40,6 +40,7 @@ CVTPFile::CVTPFile()
CVTPFile::~CVTPFile() CVTPFile::~CVTPFile()
{ {
Close(); Close();
delete m_session;
} }
void CVTPFile::Close() void CVTPFile::Close()
{ {
Expand Down

0 comments on commit 7a85eac

Please sign in to comment.