From 79f48500e234b503f74d7e2db260622f7c52bc04 Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 13 Jul 2016 16:34:00 +0200 Subject: [PATCH] ao_coreaudio: use correct free function on errors --- audio/out/ao_coreaudio_properties.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }