X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=osx_write.c;h=2c6fd0d2ef3867d5ad5e1e6d37db9e3b0083722c;hp=edb9f9230268c65703372e587e63140501e5e697;hb=3634794c3ba2f9fba60d3b26bcceae51fb3718c6;hpb=9de1287d67c9562e9140c6dc7deb0c01c4e10cc0 diff --git a/osx_write.c b/osx_write.c index edb9f923..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; @@ -333,7 +332,6 @@ void osx_write_init(struct writer *w) w->post_select = osx_write_post_select; w->parse_config_or_die = osx_write_parse_config_or_die; w->free_config = osx_free_config; - w->shutdown = NULL; /* nothing to do */ w->help = (struct ggo_help) { .short_help = osx_write_args_info_help, .detailed_help = osx_write_args_info_detailed_help