fix memory leak of parsing dash MPD