diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2023-01-21 07:03:45 +0100 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2023-01-21 07:11:29 +0100 |
commit | c9b733265f5c0ead8a5fcb5ea44438cc4f6ffccc (patch) | |
tree | 526a099b94adc0496b974fae0994e84823a722c6 /src/test/test-load-fragment.c | |
parent | hwdb: Add touchpad toggle mapping for System76 Pangolin 12 (diff) | |
download | systemd-c9b733265f5c0ead8a5fcb5ea44438cc4f6ffccc.tar.xz systemd-c9b733265f5c0ead8a5fcb5ea44438cc4f6ffccc.zip |
test-load-fragment: fix memleak
Fixes a leak reported at https://github.com/systemd/systemd/pull/26115#issuecomment-1398026085.
Diffstat (limited to '')
-rw-r--r-- | src/test/test-load-fragment.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/test-load-fragment.c b/src/test/test-load-fragment.c index 4464373132..288593e603 100644 --- a/src/test/test-load-fragment.c +++ b/src/test/test-load-fragment.c @@ -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) { |