mirror of
https://github.com/samba-team/samba.git
synced 2025-11-26 04:23:49 +03:00
r2635: mem_ctx cleanups on the lsa and netlogon pipes in the rpc server
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
56ecda2178
commit
1ee5ed4197
@@ -108,14 +108,9 @@ void dcesrv_tcp_init(struct server_service *service, const struct model_ops *mod
|
||||
}
|
||||
} else {
|
||||
struct in_addr *ifip;
|
||||
TALLOC_CTX *mem_ctx = talloc_init("open_sockets_smbd");
|
||||
if (!mem_ctx) {
|
||||
smb_panic("No memory");
|
||||
}
|
||||
|
||||
ifip = interpret_addr2(mem_ctx, lp_socket_address());
|
||||
ifip = interpret_addr2(dce_ctx, lp_socket_address());
|
||||
add_socket_rpc(service, model_ops, dce_ctx, ifip);
|
||||
talloc_destroy(mem_ctx);
|
||||
talloc_free(ifip);
|
||||
}
|
||||
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user