1
0
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 commit is contained in:
Andrew Tridgell 2005-01-24 01:04:15 +00:00 committed by Gerald (Jerry) Carter
parent 5e8fd5f701
commit f8a950b57d

View File

@ -188,7 +188,6 @@ NTSTATUS smbcli_full_connection(TALLOC_CTX *parent_ctx,
(*ret_cli)->tree = tree; (*ret_cli)->tree = tree;
(*ret_cli)->session = tree->session; (*ret_cli)->session = tree->session;
(*ret_cli)->transport = tree->session->transport; (*ret_cli)->transport = tree->session->transport;
talloc_steal(*ret_cli, tree->session->transport->socket);
done: done:
talloc_free(mem_ctx); talloc_free(mem_ctx);