The branch, master has been updated
via 66968d4d7a2 pdb_ldap: Fix memory leak CID#1363095
from 65d86082338 smbd: improve lease break when handling overwrite
create disposition
https://git.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit 66968d4d7a282717bf26962a84e1c38613e5104e
Author: Vinit Agnihotri <[email protected]>
Date: Mon Aug 18 13:02:04 2025 +0530
pdb_ldap: Fix memory leak CID#1363095
Signed-off-by: Vinit Agnihotri <[email protected]>
Reviewed-by: Guenther Deschner <[email protected]>
Reviewed-by: Anoop C S <[email protected]>
Autobuild-User(master): Anoop C S <[email protected]>
Autobuild-Date(master): Mon Aug 18 12:03:30 UTC 2025 on atb-devel-224
-----------------------------------------------------------------------
Summary of changes:
source3/passdb/pdb_ldap.c | 1 +
1 file changed, 1 insertion(+)
Changeset truncated at 500 lines:
diff --git a/source3/passdb/pdb_ldap.c b/source3/passdb/pdb_ldap.c
index 1e3779fc6cf..14b3dfc2493 100644
--- a/source3/passdb/pdb_ldap.c
+++ b/source3/passdb/pdb_ldap.c
@@ -2195,6 +2195,7 @@ static NTSTATUS ldapsam_add_sam_account(struct
pdb_methods *my_methods, struct s
filter = talloc_strdup(attr_list, "(uid=%u)");
if (!filter) {
status = NT_STATUS_NO_MEMORY;
+ TALLOC_FREE(escape_user);
goto fn_exit;
}
filter = talloc_all_string_sub(attr_list, filter, "%u", escape_user);
--
Samba Shared Repository