librpc:core: Allocate struct dcesrv_interface with talloc
authorSamuel Cabrero <scabrero@samba.org>
Tue, 1 Oct 2019 14:48:01 +0000 (16:48 +0200)
committerAndreas Schneider <asn@cryptomilk.org>
Fri, 18 Oct 2019 16:07:37 +0000 (16:07 +0000)
commit6a6546b565793341f3be6a6fcf30a40a186f9ae9
tree2d065ccfedb8ee13d663d0216c3afc2d6da5449f
parent52727543b05c80742e187014ce1048fe7b104bdc
librpc:core: Allocate struct dcesrv_interface with talloc

The S3 implementation needs to reinit the dcesrv_context and free the
endpoints list with their registered interfaces.

Signed-off-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
librpc/rpc/dcesrv_core.c
librpc/rpc/dcesrv_core.h
librpc/rpc/dcesrv_mgmt.c
source4/rpc_server/dcerpc_server.c
source4/rpc_server/epmapper/rpc_epmapper.c