From: Stefan Metzmacher Date: Mon, 4 Jun 2012 16:30:11 +0000 (+0200) Subject: s3:libsmb: fix the talloc parent of clistr_pull_talloc() in cli_notify_done() X-Git-Tag: tevent-0.9.16~100 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5a122931ede833484d9c47d7a9b5434e85b5c8d7;p=thirdparty%2Fsamba.git s3:libsmb: fix the talloc parent of clistr_pull_talloc() in cli_notify_done() metze --- 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) {