mirror of
https://github.com/morgan9e/systemd
synced 2026-04-15 08:56:15 +09:00
Merge pull request #4889 from evverx/fix-test-fs-util-memleak
test-fs-util: fix memleak
This commit is contained in:
@@ -78,6 +78,7 @@ static void test_chase_symlinks(void) {
|
||||
|
||||
assert_se(mkdir(q, 0700) >= 0);
|
||||
|
||||
result = mfree(result);
|
||||
r = chase_symlinks(p, temp, 0, &result);
|
||||
assert_se(r > 0);
|
||||
assert_se(path_equal(result, q));
|
||||
|
||||
Reference in New Issue
Block a user