X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=audioc.c;h=abd763596e8b0039084d502e428d1ddec00ea232;hp=d3e092e29301f71e02948259483623e56967966f;hb=c5e38315901ea63efd169af5d4ba3f3c66db7de9;hpb=6101e63b98b5517b65bd967e6efbb0af47738084 diff --git a/audioc.c b/audioc.c index d3e092e2..abd76359 100644 --- a/audioc.c +++ b/audioc.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2005-2012 Andre Noll + * Copyright (C) 2005-2013 Andre Noll * * Licensed under the GPL v2. For licencing details see COPYING. */ @@ -128,9 +128,7 @@ static void audioc_post_select(struct sched *s, struct task *t) out: if (ret < 0) { free(buf); - btr_remove_node(at->btrn); - btr_free_node(at->btrn); - at->btrn = NULL; + btr_remove_node(&at->btrn); close(at->fd); } t->error = ret;