summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schneider <asn@redhat.com>2010-02-26 10:21:10 +0100
committerStefan Metzmacher <metze@samba.org>2010-02-26 12:08:54 +0100
commit062a8cf0068d9833b68d6569eae6fdb0fc622726 (patch)
treed17778d8228dd3e8c5236e422866aa9519da134d
parentb80071602ffa127ab1857b0203ff868c15b8ce6b (diff)
downloadsamba-062a8cf0068d9833b68d6569eae6fdb0fc622726.tar.gz
samba-062a8cf0068d9833b68d6569eae6fdb0fc622726.tar.bz2
samba-062a8cf0068d9833b68d6569eae6fdb0fc622726.zip
s4-winbind: Fixed the memory context of tstream_bsd_existing()
Signed-off-by: Stefan Metzmacher <metze@samba.org>
-rw-r--r--source4/winbind/wb_server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/winbind/wb_server.c b/source4/winbind/wb_server.c
index 306c8e2add..11f0bf0ba5 100644
--- a/source4/winbind/wb_server.c
+++ b/source4/winbind/wb_server.c
@@ -127,7 +127,7 @@ static void wbsrv_accept(struct stream_connection *conn)
TALLOC_FREE(conn->event.fde);
- rc = tstream_bsd_existing_socket(wbsrv_conn->tstream,
+ rc = tstream_bsd_existing_socket(wbsrv_conn,
socket_get_fd(conn->socket),
&wbsrv_conn->tstream);
if (rc < 0) {