demux: adaptative: fix memory leak
authorHannes Domani <ssbssa@yahoo.de>
Thu, 27 Aug 2015 14:18:25 +0000 (16:18 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Thu, 27 Aug 2015 16:49:39 +0000 (18:49 +0200)
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
modules/demux/adaptative/PlaylistManager.cpp

index 7876c81..81857ac 100644 (file)
@@ -60,6 +60,7 @@ PlaylistManager::PlaylistManager( demux_t *p_demux_,
 PlaylistManager::~PlaylistManager   ()
 {
     delete conManager;
+    delete playlist;
     delete streamOutputFactory;
     unsetPeriod();
 }