]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - play.c
client: Only start stdin task for addblob commands.
[paraslash.git] / play.c
diff --git a/play.c b/play.c
index 7537ddd6ad012a76b2f3b3511f5e23bf5f632a4d..cca203b5d393aa95dc50d0e7df1ffcceb0180420 100644 (file)
--- a/play.c
+++ b/play.c
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2012 Andre Noll <maan@systemlinux.org>
+ * Copyright (C) 2012-2013 Andre Noll <maan@systemlinux.org>
  *
  * Licensed under the GPL v2. For licencing details see COPYING.
  */
@@ -427,9 +427,7 @@ static int load_file(struct play_task *pt)
        register_writer_node(&pt->wn, pt->fn.btrn, &sched);
        return 1;
 fail:
-       afh_recv->close(&pt->rn);
-       btr_remove_node(&pt->rn.btrn);
-       afh_recv->free_config(pt->rn.conf);
+       wipe_receiver_node(pt);
        return ret;
 }