diff options
author | Volker Lendecke <vl@samba.org> | 2008-02-04 20:57:35 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2008-02-04 20:57:49 +0100 |
commit | 2762b9a97582b9b28fd5985ba8e3d0299126820e (patch) | |
tree | bcaa02c53a19e332ac20c41377e4951caed8d4a9 /source3/lib/debug.c | |
parent | 3955801298bbcf69afe01c212d5e8ac9812a5dcf (diff) | |
download | samba-2762b9a97582b9b28fd5985ba8e3d0299126820e.tar.gz samba-2762b9a97582b9b28fd5985ba8e3d0299126820e.tar.bz2 samba-2762b9a97582b9b28fd5985ba8e3d0299126820e.zip |
Always pass a TALLOC_CTX to str_list_make and str_list_copy
(This used to be commit e2c9fc4cf5f0ff725330fa44f53782db65fca37e)
Diffstat (limited to 'source3/lib/debug.c')
-rw-r--r-- | source3/lib/debug.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/lib/debug.c b/source3/lib/debug.c index 51bb0d7541..9ff267b607 100644 --- a/source3/lib/debug.c +++ b/source3/lib/debug.c @@ -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; } } |