diff options
author | Günther Deschner <gd@samba.org> | 2008-01-10 11:13:23 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-01-10 13:02:10 +0100 |
commit | 83b1751615ef3892d44c7826228fbb3b0826d2b2 (patch) | |
tree | 578971e85b4dabdd4a2b938f8a5b99661a88c4bc /source3/utils | |
parent | 138954e70e18e53f1ae81bad4641380bc8ab3bd3 (diff) | |
download | samba-83b1751615ef3892d44c7826228fbb3b0826d2b2.tar.gz samba-83b1751615ef3892d44c7826228fbb3b0826d2b2.tar.bz2 samba-83b1751615ef3892d44c7826228fbb3b0826d2b2.zip |
Remove unused string.
Guenther
(This used to be commit 88d6683872f4bb9c3074280f385f73c7af9de784)
Diffstat (limited to 'source3/utils')
-rw-r--r-- | source3/utils/net_ads.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/source3/utils/net_ads.c b/source3/utils/net_ads.c index 310af82beb..80f6ba9001 100644 --- a/source3/utils/net_ads.c +++ b/source3/utils/net_ads.c @@ -1446,7 +1446,6 @@ int net_ads_join(int argc, const char **argv) ADS_STRUCT *ads = NULL; ADS_STATUS status; NTSTATUS nt_status; - char *machine_account = NULL; char *short_domain_name = NULL; char *tmp_password, *password; TALLOC_CTX *ctx = NULL; @@ -1684,7 +1683,6 @@ int net_ads_join(int argc, const char **argv) d_printf("Joined '%s' to realm '%s'\n", global_myname(), ads->server.realm); - SAFE_FREE(machine_account); TALLOC_FREE( ctx ); ads_destroy(&ads); @@ -1694,7 +1692,6 @@ fail: /* issue an overall failure message at the end. */ d_printf("Failed to join domain: %s\n", get_friendly_nt_error_msg(nt_status)); - SAFE_FREE(machine_account); TALLOC_FREE( ctx ); ads_destroy(&ads); |