mirror of https://github.com/mpv-player/mpv
ao_coreaudio: use correct free function on errors
This commit is contained in:
parent
b5bc93d009
commit
79f48500e2
|
@ -70,7 +70,7 @@ OSStatus ca_get_ary(AudioObjectID id, ca_scope scope, ca_sel selector,
|
|||
|
||||
return err;
|
||||
coreaudio_error_free:
|
||||
free(*data);
|
||||
talloc_free(*data);
|
||||
coreaudio_error:
|
||||
return err;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue