summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRonny Chevalier <chevalier.ronny@gmail.com>2016-12-14 11:34:48 +0100
committerGitHub <noreply@github.com>2016-12-14 11:34:48 +0100
commit80d8b5bc1fba3b9f5010daab244b03661332be3f (patch)
tree2f2153890305bf4e40b22b217375926f754f718d
parent0900593e86f2516e2a9cc9e3cfc34cc609bfc29e (diff)
parentf4b85a0fb68bd5f67498697e35f813aee430cfb2 (diff)
Merge pull request #4889 from evverx/fix-test-fs-util-memleak
test-fs-util: fix memleak
-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));