]> git.sesse.net Git - vlc/commitdiff
qtsound: fix crash when freeing memory
authorFelix Paul Kühne <fkuehne@videolan.org>
Wed, 3 Jul 2013 20:52:03 +0000 (22:52 +0200)
committerFelix Paul Kühne <fkuehne@videolan.org>
Wed, 3 Jul 2013 20:52:17 +0000 (22:52 +0200)
modules/access/qtsound.m

index 00fc873f88db086349d1ac9e9118d7d3b88dcca6..a948e65a1c50cbae3fec7d415c758e1442450f00 100644 (file)
@@ -184,7 +184,7 @@ vlc_module_end ()
 {
     @synchronized (self) {
         if (rawAudioData)
-            free(rawAudioData);
+            block_Release(rawAudioData);
     }
 }