[vlc-commits] qtsound: fix crash when freeing memory

Felix Paul Kühne git at videolan.org
Wed Jul 3 22:53:04 CEST 2013


vlc/vlc-2.1 | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Wed Jul  3 22:52:03 2013 +0200| [02fbf63e951a923ca2830bc607fd3929f941cd68] | committer: Felix Paul Kühne

qtsound: fix crash when freeing memory
(cherry picked from commit 4e79526324b65db23945d7355e5f323731a73faa)

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

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

diff --git a/modules/access/qtsound.m b/modules/access/qtsound.m
index 00fc873..a948e65 100644
--- a/modules/access/qtsound.m
+++ b/modules/access/qtsound.m
@@ -184,7 +184,7 @@ vlc_module_end ()
 {
     @synchronized (self) {
         if (rawAudioData)
-            free(rawAudioData);
+            block_Release(rawAudioData);
     }
 }
 



More information about the vlc-commits mailing list