]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/basic/path-lookup.c
Merge pull request #30480 from keszybz/kernel-install-more-paths
[thirdparty/systemd.git] / src / basic / path-lookup.c
index 8a03e29f65ad94351feb4457517094aec4227ddd..e7fc4a7f06922d0be04210bc3577b8f5dcd14022 100644 (file)
@@ -776,9 +776,8 @@ int lookup_paths_init_or_warn(LookupPaths *lp, RuntimeScope scope, LookupPathsFl
         return r;
 }
 
-void lookup_paths_free(LookupPaths *lp) {
-        if (!lp)
-                return;
+void lookup_paths_done(LookupPaths *lp) {
+        assert(lp);
 
         lp->search_path = strv_free(lp->search_path);