summaryrefslogtreecommitdiffstats
path: root/rpc/rpc-lib
diff options
context:
space:
mode:
authorKrishnan Parthasarathi <kparthas@redhat.com>2014-01-22 00:45:01 +0530
committerVijay Bellur <vbellur@redhat.com>2014-01-22 06:09:46 -0800
commitd0cd37817c45c1f375a8230533cc66821bfe9b6e (patch)
tree7b1bee02ee671e4dc2c1c67db142abfb5c3c4985 /rpc/rpc-lib
parent2fe405c808fdbc9109bced9ec52be9d79ca321e7 (diff)
rpc: use GF_FREE when a string is gf_strdup'd.
Change-Id: I522c30a600e712be9cc09393104e228e4d8e13f5 Signed-off-by: Krishnan Parthasarathi <kparthas@redhat.com> Reviewed-on: http://review.gluster.org/6752 Reviewed-by: Vijay Bellur <vbellur@redhat.com> Tested-by: Gluster Build System <jenkins@build.gluster.com>
Diffstat (limited to 'rpc/rpc-lib')
-rw-r--r--rpc/rpc-lib/src/rpc-clnt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpc/rpc-lib/src/rpc-clnt.c b/rpc/rpc-lib/src/rpc-clnt.c
index 1e9f307be40..4920edaa3ad 100644
--- a/rpc/rpc-lib/src/rpc-clnt.c
+++ b/rpc/rpc-lib/src/rpc-clnt.c
@@ -1695,7 +1695,7 @@ rpc_clnt_reconfig (struct rpc_clnt *rpc, struct rpc_clnt_config *config)
"changing hostname to %s (from %s)",
config->remote_host,
rpc->conn.config.remote_host);
- FREE (rpc->conn.config.remote_host);
+ GF_FREE (rpc->conn.config.remote_host);
} else {
gf_log (rpc->conn.trans->name, GF_LOG_INFO,
"setting hostname to %s",