mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
r4952: removed a bogus talloc_steal() that was trying to cope with the
inverted memory hierarchy. Now the memory hierarchy is logical its not
needed (and can cause a double free in RPC-SCHANNEL)
(This used to be commit f8a950b57d
)
This commit is contained in:
parent
3e44c4a3ba
commit
52ad7774b5
@ -188,7 +188,6 @@ NTSTATUS smbcli_full_connection(TALLOC_CTX *parent_ctx,
|
||||
(*ret_cli)->tree = tree;
|
||||
(*ret_cli)->session = tree->session;
|
||||
(*ret_cli)->transport = tree->session->transport;
|
||||
talloc_steal(*ret_cli, tree->session->transport->socket);
|
||||
|
||||
done:
|
||||
talloc_free(mem_ctx);
|
||||
|
Loading…
Reference in New Issue
Block a user