summaryrefslogtreecommitdiff
path: root/source4/smb_server/smb
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2009-07-01 14:53:32 +1000
committerAndrew Tridgell <tridge@samba.org>2009-07-01 15:15:37 +1000
commit0534ae012b3ef962f52fef9968eef30e88668874 (patch)
tree13019d8c5082726ba26ef82a524d169a066b1652 /source4/smb_server/smb
parent5fe1d8dc1275e43d96da1297f5fb0d0088a1c3ab (diff)
downloadsamba-0534ae012b3ef962f52fef9968eef30e88668874.tar.gz
samba-0534ae012b3ef962f52fef9968eef30e88668874.tar.bz2
samba-0534ae012b3ef962f52fef9968eef30e88668874.zip
use the new talloc_reparent in two places
Diffstat (limited to 'source4/smb_server/smb')
-rw-r--r--source4/smb_server/smb/negprot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/smb_server/smb/negprot.c b/source4/smb_server/smb/negprot.c
index 5ac5624745..efeee95363 100644
--- a/source4/smb_server/smb/negprot.c
+++ b/source4/smb_server/smb/negprot.c
@@ -384,7 +384,7 @@ static void reply_nt1(struct smbsrv_request *req, uint16_t choice)
smbsrv_terminate_connection(req->smb_conn, "reply_nt1: is this a secondary negprot? auth_context is non-NULL!\n");
return;
}
- req->smb_conn->negotiate.server_credentials = talloc_steal(req->smb_conn, server_credentials);
+ req->smb_conn->negotiate.server_credentials = talloc_reparent(req, req->smb_conn, server_credentials);
gensec_set_target_service(gensec_security, "cifs");