path-lookup: rename lookup_paths_free -> _done
This is stack-allocated, so update to match our usual rules.
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
@@ -65,7 +65,7 @@ bool path_is_user_data_dir(const char *path);
|
||||
bool path_is_user_config_dir(const char *path);
|
||||
|
||||
void lookup_paths_log(LookupPaths *p);
|
||||
void lookup_paths_free(LookupPaths *p);
|
||||
void lookup_paths_done(LookupPaths *p);
|
||||
|
||||
char **generator_binary_paths(RuntimeScope scope);
|
||||
char **env_generator_binary_paths(RuntimeScope scope);
|
||||
|
||||
Reference in New Issue
Block a user