summaryrefslogtreecommitdiffstats
path: root/source3/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
commit941a3a5d3a46fd4fb913fddc6aa956361d218d23 (patch)
tree2154f3049a126a91cf5cc12a79909a2a00664fc8 /source3/rpc_client/cli_trust.c
parent091dbaa00bfb970137290a306ee77b4c5255b6c2 (diff)
downloadsamba-941a3a5d3a46fd4fb913fddc6aa956361d218d23.tar.gz
samba-941a3a5d3a46fd4fb913fddc6aa956361d218d23.tar.xz
samba-941a3a5d3a46fd4fb913fddc6aa956361d218d23.zip
move to SAFE_FREE()
(This used to be commit 549fe42bd48b3418e63ba4872bc5992dae46d514)
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 440cc5143a2..eed6ba7b2be 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,