The branch, master has been updated
via 8f72b5673e6 libnet4: free tevent request even on error
from 835ae52f94f drsuapi.idl: fix source_dsa spelling
https://git.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit 8f72b5673e6a26c5a6a69dbc56e91027d0dabe37
Author: Björn Baumbach <[email protected]>
Date: Mon Feb 10 17:42:12 2025 +0100
libnet4: free tevent request even on error
BUG: https://bugzilla.samba.org/show_bug.cgi?id=15798
Signed-off-by: Björn Baumbach <[email protected]>
Reviewed-by: Volker Lendecke <[email protected]>
Autobuild-User(master): Björn Baumbach <[email protected]>
Autobuild-Date(master): Tue Feb 11 11:05:37 UTC 2025 on atb-devel-224
-----------------------------------------------------------------------
Summary of changes:
source4/libnet/libnet_lookup.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Changeset truncated at 500 lines:
diff --git a/source4/libnet/libnet_lookup.c b/source4/libnet/libnet_lookup.c
index 26cf26fe3e1..fe021b9f4d8 100644
--- a/source4/libnet/libnet_lookup.c
+++ b/source4/libnet/libnet_lookup.c
@@ -223,10 +223,10 @@ NTSTATUS libnet_LookupDCs_recv(struct tevent_req *req,
TALLOC_CTX *mem_ctx,
NTSTATUS status;
struct finddcs finddcs_io;
status = finddcs_cldap_recv(req, mem_ctx, &finddcs_io);
+ talloc_free(req);
if (!NT_STATUS_IS_OK(status)) {
return status;
}
- talloc_free(req);
io->out.num_dcs = 1;
io->out.dcs = talloc(mem_ctx, struct nbt_dc_name);
NT_STATUS_HAVE_NO_MEMORY(io->out.dcs);
--
Samba Shared Repository