summaryrefslogtreecommitdiff
path: root/source3/rpc_client/cli_trust.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/rpc_client/cli_trust.c')
-rw-r--r--source3/rpc_client/cli_trust.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/rpc_client/cli_trust.c b/source3/rpc_client/cli_trust.c
index 440cc5143a..eed6ba7b2b 100644
--- a/source3/rpc_client/cli_trust.c
+++ b/source3/rpc_client/cli_trust.c
@@ -214,8 +214,7 @@ account password for domain %s.\n", domain));
break;
}
- if(ip_list != NULL)
- free((char *)ip_list);
+ SAFE_FREE(ip_list);
} else {
res = modify_trust_password( domain, remote_machine,