From 5a122931ede833484d9c47d7a9b5434e85b5c8d7 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Mon, 4 Jun 2012 18:30:11 +0200 Subject: [PATCH] s3:libsmb: fix the talloc parent of clistr_pull_talloc() in cli_notify_done() metze --- source3/libsmb/clifile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/libsmb/clifile.c b/source3/libsmb/clifile.c index 8fdbe15edc1..1ee7fff8b59 100644 --- a/source3/libsmb/clifile.c +++ b/source3/libsmb/clifile.c @@ -5039,7 +5039,7 @@ static void cli_notify_done(struct tevent_req *subreq) } state->changes[i].action = IVAL(params, ofs+4); - ret = clistr_pull_talloc(params, (char *)params, flags2, + ret = clistr_pull_talloc(state->changes, (char *)params, flags2, &name, params+ofs+12, len, STR_TERMINATE|STR_UNICODE); if (ret == -1) { -- 2.11.4.GIT