summaryrefslogtreecommitdiffstats
path: root/src/test/test-load-fragment.c
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2023-01-21 07:03:45 +0100
committerYu Watanabe <watanabe.yu+github@gmail.com>2023-01-21 07:11:29 +0100
commitc9b733265f5c0ead8a5fcb5ea44438cc4f6ffccc (patch)
tree526a099b94adc0496b974fae0994e84823a722c6 /src/test/test-load-fragment.c
parenthwdb: Add touchpad toggle mapping for System76 Pangolin 12 (diff)
downloadsystemd-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.c2
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) {