diff options
author | Lennart Poettering <lennart@poettering.net> | 2013-10-09 04:04:04 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2013-10-09 04:08:00 +0200 |
commit | 510b857f7d1e7e8d38912890536342dd5dd647dd (patch) | |
tree | 6899d6b0f32eba46f2deefa848a96805b9966be1 /src/journal/test-journal.c | |
parent | 2ee0591d12b9e725c4585502285fd91cde682d9b (diff) |
tests: fix some memory leaks in tests
Diffstat (limited to 'src/journal/test-journal.c')
-rw-r--r-- | src/journal/test-journal.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/journal/test-journal.c b/src/journal/test-journal.c index 190c426eba..189fe07b48 100644 --- a/src/journal/test-journal.c +++ b/src/journal/test-journal.c @@ -169,6 +169,11 @@ static void test_empty(void) { assert_se(rm_rf_dangerous(t, false, true, false) >= 0); } + + journal_file_close(f1); + journal_file_close(f2); + journal_file_close(f3); + journal_file_close(f4); } int main(int argc, char *argv[]) { |