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

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


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

qtsound: fix crash when freeing memory

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

 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