libsocket: Add "mem_ctx" to socket_create()
authorVolker Lendecke <vl@samba.org>
Thu, 15 Feb 2018 15:43:59 +0000 (16:43 +0100)
committerAndreas Schneider <asn@cryptomilk.org>
Tue, 27 Feb 2018 08:14:17 +0000 (09:14 +0100)
commitd88f826c7b78d84fef87ab1301b266f11b4162fb
treee48e89424b775f3843811d5cf7d1c522308f2725
parent350826868dc81846e0b1086ad5f69506ae2a44f6
libsocket: Add "mem_ctx" to socket_create()

Every caller did a talloc_steal() after socket_create(). Just pass in the
correct memory context.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
libcli/nbt/nbtsocket.c
source4/auth/kerberos/krb5_init_context.c
source4/lib/socket/connect_multi.c
source4/lib/socket/socket.c
source4/lib/socket/socket.h
source4/lib/socket/testsuite.c
source4/libcli/dgram/dgramsocket.c
source4/libcli/ldap/ldap_client.c
source4/librpc/rpc/dcerpc_sock.c
source4/smbd/service_stream.c