diff options
author | sin <sin@2f30.org> | 2014-09-16 13:30:41 +0100 |
---|---|---|
committer | sin <sin@2f30.org> | 2014-09-16 13:30:41 +0100 |
commit | 0ae5c26281b6b7e321074f90e73bb518f876f192 (patch) | |
tree | 814c2485d05ab5902b18e607d6fb3a80930c9d8f | |
parent | 0eaf525dfabe2610d4c8e04d5bfdf0ba70f416fd (diff) |
Remember to free the buffers
-rw-r--r-- | ratatox.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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; } |