Commit ca1045ab authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen Committed by Rémi Denis-Courmont

dash: Fixing memory leak

Signed-off-by: default avatarRémi Denis-Courmont <remi@remlab.net>
parent 54452fcd
...@@ -36,6 +36,7 @@ BasicCMManager::BasicCMManager (MPD *mpd) ...@@ -36,6 +36,7 @@ BasicCMManager::BasicCMManager (MPD *mpd)
} }
BasicCMManager::~BasicCMManager () BasicCMManager::~BasicCMManager ()
{ {
delete this->mpd;
} }
std::vector<ISegment*> BasicCMManager::getSegments (Representation *rep) std::vector<ISegment*> BasicCMManager::getSegments (Representation *rep)
......
...@@ -33,6 +33,7 @@ using namespace dash::xml; ...@@ -33,6 +33,7 @@ using namespace dash::xml;
BasicCMParser::BasicCMParser (Node *root) : root(root), mpd(NULL) BasicCMParser::BasicCMParser (Node *root) : root(root), mpd(NULL)
{ {
} }
BasicCMParser::~BasicCMParser () BasicCMParser::~BasicCMParser ()
{ {
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment