summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schneider <asn@redhat.com>2010-02-26 10:19:55 +0100
committerStefan Metzmacher <metze@samba.org>2010-02-26 12:08:53 +0100
commitb80071602ffa127ab1857b0203ff868c15b8ce6b (patch)
tree4d03d6a675e9d6eeda2e7a4c03008eac283d697a
parentc3b90f00d4c76694060124a34eecb099584d3667 (diff)
downloadsamba-b80071602ffa127ab1857b0203ff868c15b8ce6b.tar.gz
samba-b80071602ffa127ab1857b0203ff868c15b8ce6b.tar.bz2
samba-b80071602ffa127ab1857b0203ff868c15b8ce6b.zip
s4-ntp: Fixed the memory context of tstream_bsd_existing()
Signed-off-by: Stefan Metzmacher <metze@samba.org>
-rw-r--r--source4/ntp_signd/ntp_signd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/ntp_signd/ntp_signd.c b/source4/ntp_signd/ntp_signd.c
index 025ff2be84..a2d14ad918 100644
--- a/source4/ntp_signd/ntp_signd.c
+++ b/source4/ntp_signd/ntp_signd.c
@@ -445,7 +445,7 @@ static void ntp_signd_accept(struct stream_connection *conn)
TALLOC_FREE(conn->event.fde);
- rc = tstream_bsd_existing_socket(ntp_signd_conn->tstream,
+ rc = tstream_bsd_existing_socket(ntp_signd_conn,
socket_get_fd(conn->socket),
&ntp_signd_conn->tstream);
if (rc < 0) {