From 0ae5c26281b6b7e321074f90e73bb518f876f192 Mon Sep 17 00:00:00 2001 From: sin Date: Tue, 16 Sep 2014 13:30:41 +0100 Subject: Remember to free the buffers --- ratatox.c | 2 ++ 1 file changed, 2 insertions(+) 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; } -- cgit v1.2.3