mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
r14103: Fix a memleak found by valgrind (!!)
(This used to be commit b880602c4c
)
This commit is contained in:
parent
56a99b1d1c
commit
b3d058a0ec
@ -412,6 +412,7 @@ BOOL secrets_store_trusted_domain_password(const char* domain, const char* pwd,
|
||||
|
||||
strncpy_w(pass.uni_name, uni_dom_name, sizeof(pass.uni_name) - 1);
|
||||
pass.uni_name_len = strlen_w(uni_dom_name)+1;
|
||||
SAFE_FREE(uni_dom_name);
|
||||
|
||||
/* last change time */
|
||||
pass.mod_time = time(NULL);
|
||||
|
Loading…
Reference in New Issue
Block a user