X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=wav_filter.c;h=716d8dd94c318cca2fb17a16a6d062a929099f92;hp=8408034d905c6f20eb375385d638de31a43df0e3;hb=c5e38315901ea63efd169af5d4ba3f3c66db7de9;hpb=9417eae5ca2b9f10d25f769221e8fd91048bc68a diff --git a/wav_filter.c b/wav_filter.c index 8408034d..716d8dd9 100644 --- a/wav_filter.c +++ b/wav_filter.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2005-2011 Andre Noll + * Copyright (C) 2005-2013 Andre Noll * * Licensed under the GPL v2. For licencing details see COPYING. */ @@ -7,7 +7,6 @@ /** \file wav_filter.c A filter that inserts a wave header. */ #include -#include #include "para.h" #include "error.h" @@ -118,7 +117,7 @@ err: if (ret == -E_WAV_SUCCESS) btr_splice_out_node(btrn); else { - btr_remove_node(btrn); + btr_remove_node(&fn->btrn); PARA_ERROR_LOG("%s\n", para_strerror(-ret)); } }