mirror of
https://github.com/Dasharo/systemd.git
synced 2026-03-06 15:02:31 -08: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