summaryrefslogtreecommitdiff
path: root/source/rpc_client/cli_trust.c
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2001-09-17 09:41:30 +0000
committerSimo Sorce <idra@samba.org>2001-09-17 09:41:30 +0000
commit549fe42bd48b3418e63ba4872bc5992dae46d514 (patch)
tree622b5b902c10e77899cfa204e46b18d6f04df1d7 /source/rpc_client/cli_trust.c
parent09bf4425492fd96672ddd7a31d88854adcf7f0fe (diff)
downloadsamba-549fe42bd48b3418e63ba4872bc5992dae46d514.tar.gz
move to SAFE_FREE()
Diffstat (limited to 'source/rpc_client/cli_trust.c')
-rw-r--r--source/rpc_client/cli_trust.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source/rpc_client/cli_trust.c b/source/rpc_client/cli_trust.c
index 440cc5143a2..eed6ba7b2be 100644
--- a/source/rpc_client/cli_trust.c
+++ b/source/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,