From: Andreas Schneider Date: Mon, 27 Oct 2025 14:08:53 +0000 (+0100) Subject: s3:client: Pass down a talloc context to process() X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=99ca04d42b73af05d2d6b09d977dfeacfe97f03f;p=thirdparty%2Fsamba.git s3:client: Pass down a talloc context to process() Signed-off-by: Andreas Schneider Reviewed-by: Anoop C S --- diff --git a/source3/client/client.c b/source3/client/client.c index 9504a134f07..ada39f4f655 100644 --- a/source3/client/client.c +++ b/source3/client/client.c @@ -6232,7 +6232,7 @@ static int process_stdin(void) Process commands from the client. ****************************************************************************/ -static int process(const char *base_directory) +static int process(TALLOC_CTX *mem_ctx, const char *base_directory) { int rc = 0; NTSTATUS status; @@ -6804,7 +6804,7 @@ int main(int argc,char *argv[]) rc = do_host_query(lp_ctx, qhost); } else if (message) { rc = do_message_op(creds); - } else if (process(base_directory)) { + } else if (process(frame, base_directory)) { rc = 1; }