r6392: - Fixes bug 2564: when smbc_opendir() was called with a file rather than
[samba.git] / source / libsmb / trusts_util.c
index b420e4fa08168b77d4586ea65baa1817659c1787..aab0d7d151745887958fee39912b9169cfadb848 100644 (file)
@@ -104,11 +104,8 @@ NTSTATUS trust_pw_find_change_and_store_it(struct cli_state *cli,
                                           const char *domain) 
 {
        unsigned char old_trust_passwd_hash[16];
-       char *up_domain;
        uint32 sec_channel_type = 0;
 
-       up_domain = talloc_strdup(mem_ctx, domain);
-
        if (!secrets_fetch_trust_account_password(domain,
                                                  old_trust_passwd_hash, 
                                                  NULL, &sec_channel_type)) {