test-load-fragment: fix memleak

Fixes a leak reported at https://github.com/systemd/systemd/pull/26115#issuecomment-1398026085.
This commit is contained in:
Yu Watanabe
2023-01-21 15:03:45 +09:00
parent 9e2e3342ca
commit c9b733265f

View File

@@ -1047,6 +1047,8 @@ TEST(config_parse_log_filter_patterns) {
SET_FOREACH(p, c.log_filter_denied_patterns)
assert_se(p && p[0] != '~');
}
exec_context_done(&c);
}
TEST(config_parse_open_file) {