1
0
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:
Volker Lendecke
2008-02-04 20:57:35 +01:00
parent d471dd4adb
commit e2c9fc4cf5
9 changed files with 57 additions and 44 deletions

View File

@@ -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(&params);
TALLOC_FREE(params);
return True;
} else {
str_list_free(&params);
TALLOC_FREE(params);
return False;
}
}