summaryrefslogtreecommitdiff
path: root/ratatox.c
diff options
context:
space:
mode:
Diffstat (limited to 'ratatox.c')
-rw-r--r--ratatox.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ratatox.c b/ratatox.c
index d9e3ab9..a4ba9ff 100644
--- a/ratatox.c
+++ b/ratatox.c
@@ -928,6 +928,7 @@ loop(void)
if (f->t.state == TRANSFER_DONE) {
printout("Transfer complete\n");
f->t.state = TRANSFER_NONE;
+ free(f->t.buf);
}
break;
}
@@ -960,6 +961,7 @@ loop(void)
if (f->t.state == TRANSFER_DONE) {
printout("Transfer complete\n");
f->t.state = TRANSFER_NONE;
+ free(f->t.buf);
}
break;
}