1
0
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:
Volker Lendecke 2006-03-09 21:15:10 +00:00 committed by Gerald (Jerry) Carter
parent 56a99b1d1c
commit b3d058a0ec

View File

@ -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);