--- src/modules/macosx/module-coreaudio-device.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/modules/macosx/module-coreaudio-device.c b/src/modules/macosx/module-coreaudio-device.c index da730eb..a5e6e7b 100644 --- a/src/modules/macosx/module-coreaudio-device.c +++ b/src/modules/macosx/module-coreaudio-device.c @@ -758,6 +758,8 @@ int pa__init(pa_module *m) { /* create the card object */ u->card = pa_card_new(m->core, &card_new_data); + pa_card_new_data_done(&card_new_data); + if (!u->card) { pa_log("Unable to create card.\n"); goto fail; -- 1.8.3.1