From d0cd37817c45c1f375a8230533cc66821bfe9b6e Mon Sep 17 00:00:00 2001 From: Krishnan Parthasarathi Date: Wed, 22 Jan 2014 00:45:01 +0530 Subject: rpc: use GF_FREE when a string is gf_strdup'd. Change-Id: I522c30a600e712be9cc09393104e228e4d8e13f5 Signed-off-by: Krishnan Parthasarathi Reviewed-on: http://review.gluster.org/6752 Reviewed-by: Vijay Bellur Tested-by: Gluster Build System --- rpc/rpc-lib/src/rpc-clnt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rpc/rpc-lib') diff --git a/rpc/rpc-lib/src/rpc-clnt.c b/rpc/rpc-lib/src/rpc-clnt.c index 1e9f307be..4920edaa3 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", -- cgit