summaryrefslogtreecommitdiff
path: root/source3/libsmb/clifile.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2012-06-04 18:30:11 +0200
committerStefan Metzmacher <metze@samba.org>2012-06-05 17:33:49 +0200
commit5a122931ede833484d9c47d7a9b5434e85b5c8d7 (patch)
treef029227de1258210f02b111503ee49ca039184e9 /source3/libsmb/clifile.c
parent7ef4ae42fee5c672afab5af801705fea9a575051 (diff)
downloadsamba-5a122931ede833484d9c47d7a9b5434e85b5c8d7.tar.gz
samba-5a122931ede833484d9c47d7a9b5434e85b5c8d7.tar.bz2
samba-5a122931ede833484d9c47d7a9b5434e85b5c8d7.zip
s3:libsmb: fix the talloc parent of clistr_pull_talloc() in cli_notify_done()
metze
Diffstat (limited to 'source3/libsmb/clifile.c')
-rw-r--r--source3/libsmb/clifile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/clifile.c b/source3/libsmb/clifile.c
index 8fdbe15edc..1ee7fff8b5 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) {