From a5aae54b1082a0a2c59d0e6e3e64b349d0bd6f17 Mon Sep 17 00:00:00 2001 From: Raghavendra Bhat Date: Fri, 3 Sep 2010 00:49:07 +0000 Subject: do not free the hostname from the response Signed-off-by: Raghavendra Bhat Signed-off-by: Vijay Bellur BUG: 1511 () URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1511 --- xlators/mgmt/glusterd/src/glusterd-handler.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'xlators') diff --git a/xlators/mgmt/glusterd/src/glusterd-handler.c b/xlators/mgmt/glusterd/src/glusterd-handler.c index 9829c1be9f6..ff84dca3325 100644 --- a/xlators/mgmt/glusterd/src/glusterd-handler.c +++ b/xlators/mgmt/glusterd/src/glusterd-handler.c @@ -2445,8 +2445,7 @@ glusterd_xfer_friend_remove_resp (rpcsvc_request_t *req, char *hostname, int por ret = glusterd_submit_reply (req, &rsp, NULL, 0, NULL, gd_xdr_serialize_mgmt_friend_rsp); - if (rsp.hostname) - GF_FREE (rsp.hostname); + gf_log ("glusterd", GF_LOG_NORMAL, "Responded to %s (%d), ret: %d", hostname, port, ret); return ret; -- cgit