X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=osx_write.c;h=2c6fd0d2ef3867d5ad5e1e6d37db9e3b0083722c;hp=0f9d9605926a81fa5be0c4643ca6565fbe0391c2;hb=3634794c3ba2f9fba60d3b26bcceae51fb3718c6;hpb=49ae9b0afbaa8b1ac05c7956f325c4f7a710b59a diff --git a/osx_write.c b/osx_write.c index 0f9d9605..2c6fd0d2 100644 --- a/osx_write.c +++ b/osx_write.c @@ -309,10 +309,9 @@ static void osx_write_post_select(__a_unused struct sched *s, struct task *t) AudioOutputUnitStop(powd->audio_unit); AudioUnitUninitialize(powd->audio_unit); CloseComponent(powd->audio_unit); - btr_remove_node(powd->callback_btrn); - btr_free_node(powd->callback_btrn); + btr_remove_node(&powd->callback_btrn); remove_btrn: - btr_remove_node(btrn); + btr_remove_node(&wn->btrn); PARA_NOTICE_LOG("%s\n", para_strerror(-ret)); out: t->error = ret;