mirror of
https://github.com/samba-team/samba.git
synced 2025-11-26 04:23:49 +03:00
Always pass a TALLOC_CTX to str_list_make and str_list_copy
This commit is contained in:
@@ -460,14 +460,14 @@ bool debug_parse_levels(const char *params_str)
|
||||
if (AllowDebugChange == False)
|
||||
return True;
|
||||
|
||||
params = str_list_make(params_str, NULL);
|
||||
params = str_list_make(talloc_tos(), params_str, NULL);
|
||||
|
||||
if (debug_parse_params(params)) {
|
||||
debug_dump_status(5);
|
||||
str_list_free(¶ms);
|
||||
TALLOC_FREE(params);
|
||||
return True;
|
||||
} else {
|
||||
str_list_free(¶ms);
|
||||
TALLOC_FREE(params);
|
||||
return False;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user