Commit b861acb9 authored by Felix Paul Kühne's avatar Felix Paul Kühne

qtsound: fix crash when freeing memory

(cherry picked from commit 4e79526324b65db23945d7355e5f323731a73faa)

Conflicts:
	modules/access/qtsound.m
parent e5fdc86e
...@@ -196,11 +196,9 @@ vlc_module_end () ...@@ -196,11 +196,9 @@ vlc_module_end ()
- (void)freeAudioMem - (void)freeAudioMem
{ {
@synchronized (self) @synchronized (self) {
{ if (rawAudioData)
if (rawAudioData) { block_Release(rawAudioData);
free(rawAudioData);
}
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment