summaryrefslogtreecommitdiff
path: root/libcli/named_pipe_auth
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mdw@samba.org>2010-06-21 12:33:57 +0200
committerMatthias Dieter Wallnöfer <mdw@samba.org>2010-06-21 12:35:51 +0200
commit276a1a7fec1432bde870448f247ef710554c3ab8 (patch)
tree15ae7af1b92ae8a13bd3b925aeea4d2b380621a5 /libcli/named_pipe_auth
parentc38f94ed9b68f53721421c91f74a8bd1f30efd4d (diff)
downloadsamba-276a1a7fec1432bde870448f247ef710554c3ab8.tar.gz
samba-276a1a7fec1432bde870448f247ef710554c3ab8.tar.bz2
samba-276a1a7fec1432bde870448f247ef710554c3ab8.zip
s3/s4 - remove "talloc_tos()" from common code since s4 doesn't support it
Please don't use this in common code parts until we change the policy regarding it.
Diffstat (limited to 'libcli/named_pipe_auth')
-rw-r--r--libcli/named_pipe_auth/npa_tstream.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcli/named_pipe_auth/npa_tstream.c b/libcli/named_pipe_auth/npa_tstream.c
index 273c4123e1..351858408c 100644
--- a/libcli/named_pipe_auth/npa_tstream.c
+++ b/libcli/named_pipe_auth/npa_tstream.c
@@ -73,7 +73,7 @@ struct tevent_req *tstream_npa_connect_send(TALLOC_CTX *mem_ctx,
struct tevent_req *subreq;
int ret;
enum ndr_err_code ndr_err;
- char *lower_case_npipe = strlower_talloc(talloc_tos(), npipe);
+ char *lower_case_npipe = strlower_talloc(mem_ctx, npipe);
if (!lower_case_npipe) {
return NULL;