summaryrefslogtreecommitdiff
path: root/src/test/test-util.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-10-09 04:04:04 +0200
committerLennart Poettering <lennart@poettering.net>2013-10-09 04:08:00 +0200
commit510b857f7d1e7e8d38912890536342dd5dd647dd (patch)
tree6899d6b0f32eba46f2deefa848a96805b9966be1 /src/test/test-util.c
parent2ee0591d12b9e725c4585502285fd91cde682d9b (diff)
tests: fix some memory leaks in tests
Diffstat (limited to 'src/test/test-util.c')
-rw-r--r--src/test/test-util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test-util.c b/src/test/test-util.c
index c5762ede4b..7fd0572bcb 100644
--- a/src/test/test-util.c
+++ b/src/test/test-util.c
@@ -587,7 +587,7 @@ static void test_get_files_in_directory(void) {
_cleanup_strv_free_ char **l = NULL, **t = NULL;
assert_se(get_files_in_directory("/tmp", &l) >= 0);
- assert_se(get_files_in_directory(".", &l) >= 0);
+ assert_se(get_files_in_directory(".", &t) >= 0);
assert_se(get_files_in_directory(".", NULL) >= 0);
}