[vlc-commits] demux: adaptative: fix assertion on exit/release order

Francois Cartegnie git at videolan.org
Sat Aug 29 23:07:44 CEST 2015


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Sat Aug 29 23:06:12 2015 +0200| [f35018526a7a7f953030e8406cc2f19a0e9546fc] | committer: Francois Cartegnie

demux: adaptative: fix assertion on exit/release order

introduced by cf1d55617efc01b7f239aea214f9228cc573d2e6

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f35018526a7a7f953030e8406cc2f19a0e9546fc
---

 modules/demux/adaptative/PlaylistManager.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/demux/adaptative/PlaylistManager.cpp b/modules/demux/adaptative/PlaylistManager.cpp
index 81857ac..51ba750 100644
--- a/modules/demux/adaptative/PlaylistManager.cpp
+++ b/modules/demux/adaptative/PlaylistManager.cpp
@@ -60,9 +60,9 @@ PlaylistManager::PlaylistManager( demux_t *p_demux_,
 PlaylistManager::~PlaylistManager   ()
 {
     delete conManager;
-    delete playlist;
     delete streamOutputFactory;
     unsetPeriod();
+    delete playlist;
 }
 
 void PlaylistManager::unsetPeriod()



More information about the vlc-commits mailing list