- dash::http::HTTPConnectionManager *p_conManager = new dash::http::HTTPConnectionManager(p_stream);
- dash::xml::Node *p_node = p_parser->getRootNode();
- dash::DASHManager *p_dashManager = new dash::DASHManager(p_conManager,
- p_node,
- dash::logic::IAdaptationLogic::RateBased,
- p_parser->getProfile(p_node));
- delete(p_parser);
+ dash::http::HTTPConnectionManager *p_conManager =
+ new dash::http::HTTPConnectionManager(p_stream);
+ dash::xml::Node *p_node = parser.getRootNode();
+ dash::DASHManager*p_dashManager =
+ new dash::DASHManager(p_conManager, p_node,
+ dash::logic::IAdaptationLogic::RateBased,
+ parser.getProfile(p_node));