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

David Fuhrmann git at videolan.org
Fri Jan 2 23:00:09 CET 2015


vlc/vlc-2.2 | branch: master | David Fuhrmann <dfuhrmann at videolan.org> | Wed Dec 31 19:52:08 2014 +0100| [a73a45771cc93c1d84c8317ebf0b1f79a51b8af6] | committer: Felix Paul Kühne

qtsound: fix memleak (close #13416)

(cherry picked from commit 8f30f623bae32f8826aa7e7a1b6259765b901ab5)
Signed-off-by: Felix Paul Kühne <fkuehne at videolan.org>

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

 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