Mercurial > dovecot > original-hg > dovecot-2.2
diff src/lib-index/test-mail-transaction-log-append.c @ 17781:f0701f84ca01
lib-index: test suite memory leak cleanup
So that memory leak checkers can be active while running the test
suites, ensure that the suite itself doesn't leak.
Signed-off-by: Phil Carmody <phil@dovecot.fi>
author | Phil Carmody <phil@dovecot.fi> |
---|---|
date | Wed, 10 Sep 2014 14:08:58 +0300 |
parents | 16d4cf2c0d65 |
children |
line wrap: on
line diff
--- a/src/lib-index/test-mail-transaction-log-append.c Wed Sep 10 14:08:58 2014 +0300 +++ b/src/lib-index/test-mail-transaction-log-append.c Wed Sep 10 14:08:58 2014 +0300 @@ -157,6 +157,10 @@ file->fd = -1; test_end(); + buffer_free(&log->head->buffer); + i_free(log->head); + i_free(log->index); + i_free(log); unlink(tmp_path); }