[vlc-commits] dcp: Fix invalid delete

Hugo Beauzée-Luyssen git at videolan.org
Fri Dec 22 10:50:52 CET 2017


vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Fri Dec 22 10:49:48 2017 +0100| [ab07285ecdb62a6c3f4d12e4ea9160eb9717c3a9] | committer: Hugo Beauzée-Luyssen

dcp: Fix invalid delete

CID #1463250

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

 modules/access/dcp/dcp.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/access/dcp/dcp.cpp b/modules/access/dcp/dcp.cpp
index 9920e7ff85..b1b846522c 100644
--- a/modules/access/dcp/dcp.cpp
+++ b/modules/access/dcp/dcp.cpp
@@ -910,7 +910,7 @@ void CloseDcpAndMxf( demux_t *p_demux )
             p_sys->v_audioReader[i].p_AudioMXFReader->Close();
     }
 
-    delete( p_demux->p_sys );
+    delete( p_sys );
 }
 
 



More information about the vlc-commits mailing list