summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-07-13 16:34:00 +0200
committerwm4 <wm4@nowhere>2016-07-13 16:34:00 +0200
commit79f48500e234b503f74d7e2db260622f7c52bc04 (patch)
tree6b6f025473218b7a60a44052928ea4b221b1d05c
parentb5bc93d009217ad7a3dbd5ee3e8a64fb247329c6 (diff)
downloadmpv-79f48500e234b503f74d7e2db260622f7c52bc04.tar.bz2
mpv-79f48500e234b503f74d7e2db260622f7c52bc04.tar.xz
ao_coreaudio: use correct free function on errors
-rw-r--r--audio/out/ao_coreaudio_properties.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/out/ao_coreaudio_properties.c b/audio/out/ao_coreaudio_properties.c
index b74cf07289..a66c9dcf1f 100644
--- a/audio/out/ao_coreaudio_properties.c
+++ b/audio/out/ao_coreaudio_properties.c
@@ -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;
}