[vlc-commits] qtsound: fix memleak (close #13416)

David Fuhrmann git at videolan.org
Fri Jan 2 21:58:35 CET 2015


vlc | branch: master | David Fuhrmann <dfuhrmann at videolan.org> | Wed Dec 31 19:52:08 2014 +0100| [8f30f623bae32f8826aa7e7a1b6259765b901ab5] | committer: David Fuhrmann

qtsound: fix memleak (close #13416)

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

 modules/access/qtsound.m |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/modules/access/qtsound.m b/modules/access/qtsound.m
index 135307e..5e6d9a0 100644
--- a/modules/access/qtsound.m
+++ b/modules/access/qtsound.m
@@ -519,6 +519,8 @@ static int Demux(demux_t *p_demux)
 
     if (p_blocka) {
         if (!p_blocka->i_pts) {
+            block_Release(p_blocka);
+
             // Nothing to transfer yet, just forget
             msleep(10000);
             return 1;



More information about the vlc-commits mailing list