diff options
-rw-r--r-- | source3/passdb/secrets.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/passdb/secrets.c b/source3/passdb/secrets.c index f7bc044916..a288e7d169 100644 --- a/source3/passdb/secrets.c +++ b/source3/passdb/secrets.c @@ -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); |