summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schneider <asn@redhat.com>2010-02-26 10:35:01 +0100
committerStefan Metzmacher <metze@samba.org>2010-02-26 12:08:53 +0100
commitc3b90f00d4c76694060124a34eecb099584d3667 (patch)
treec697cb15bdc2c5be77fc5369d4b26d1e297b2dc8
parente0e549a77004fc45bfc01db03df267bc003a81cb (diff)
downloadsamba-c3b90f00d4c76694060124a34eecb099584d3667.tar.gz
samba-c3b90f00d4c76694060124a34eecb099584d3667.tar.bz2
samba-c3b90f00d4c76694060124a34eecb099584d3667.zip
s4-kdc: Fixed the memory context of tstream_bsd_existing()
Signed-off-by: Stefan Metzmacher <metze@samba.org>
-rw-r--r--source4/kdc/kdc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/kdc/kdc.c b/source4/kdc/kdc.c
index 827159b00e..984999b83c 100644
--- a/source4/kdc/kdc.c
+++ b/source4/kdc/kdc.c
@@ -311,7 +311,7 @@ static void kdc_tcp_accept(struct stream_connection *conn)
TALLOC_FREE(conn->event.fde);
- rc = tstream_bsd_existing_socket(kdc_conn->tstream,
+ rc = tstream_bsd_existing_socket(kdc_conn,
socket_get_fd(conn->socket),
&kdc_conn->tstream);
if (rc < 0) {