]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/test/test-strv.c
tests: fix memory leak in test_strv_fnmatch (#3653)
[thirdparty/systemd.git] / src / test / test-strv.c
index cf5887d25869760c9f9e72b95807f1e658d2bcc7..f7a1217df796f7e3cbe31a62ce9c31869b4a09b3 100644 (file)
@@ -686,7 +686,7 @@ static void test_foreach_string(void) {
 }
 
 static void test_strv_fnmatch(void) {
-        _cleanup_free_ char **v = NULL;
+        _cleanup_strv_free_ char **v = NULL;
 
         assert_se(!strv_fnmatch(STRV_MAKE_EMPTY, "a", 0));