aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/cubeb_audiounit.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/cubeb_audiounit.cpp b/src/cubeb_audiounit.cpp
index 3ee36d4..4c8f064 100644
--- a/src/cubeb_audiounit.cpp
+++ b/src/cubeb_audiounit.cpp
@@ -1860,7 +1860,6 @@ audiounit_create_aggregate_device(cubeb_stream * stm)
int r = audiounit_create_blank_aggregate_device(&stm->plugin_id, &stm->aggregate_device_id);
if (r != CUBEB_OK) {
LOG("(%p) Failed to create blank aggregate device", stm);
- audiounit_destroy_aggregate_device(stm->plugin_id, &stm->aggregate_device_id);
return CUBEB_ERROR;
}