1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00

r14103: Fix a memleak found by valgrind (!!)

This commit is contained in:
Volker Lendecke 2006-03-09 21:15:10 +00:00 committed by Gerald (Jerry) Carter
parent 56dc19879c
commit b880602c4c

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