vlc/vlc-2.2 | branch: master | David Fuhrmann <[email protected]> | 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 <[email protected]>

> 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;

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to