From 68be9a820059ee96dd26c527efd7c14e679d3f2c Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Thu, 15 Nov 2007 14:19:52 -0800 Subject: More pstring removal. This one was tricky. I had to add one horror (pstring_clean_name()) which will have to remain until I've removed all pstrings from the client code. Jeremy. (This used to be commit 1ea3ac80146b83c2522b69e7747c823366a2b47d) --- source3/utils/smbcacls.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'source3/utils') diff --git a/source3/utils/smbcacls.c b/source3/utils/smbcacls.c index 45177a9868..8c790c875b 100644 --- a/source3/utils/smbcacls.c +++ b/source3/utils/smbcacls.c @@ -867,7 +867,7 @@ static struct cli_state *connect_one(const char *server, const char *share) }; struct cli_state *cli; - TALLOC_CTX *frame; + TALLOC_CTX *frame = talloc_stackframe(); pstring owner_username; fstring server; @@ -875,7 +875,6 @@ static struct cli_state *connect_one(const char *server, const char *share) load_case_tables(); - frame = talloc_stackframe(); /* set default debug level to 1 regardless of what smb.conf sets */ setup_logging( "smbcacls", True ); -- cgit