summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/test/test-fs-util.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/test-fs-util.c b/src/test/test-fs-util.c
index b502cd0ad1..ae68587be9 100644
--- a/src/test/test-fs-util.c
+++ b/src/test/test-fs-util.c
@@ -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));