diff options
author | Raghavendra Bhat <raghavendrabhat@gluster.com> | 2010-09-03 00:49:07 +0000 |
---|---|---|
committer | Vijay Bellur <vijay@dev.gluster.com> | 2010-09-03 01:04:13 -0700 |
commit | a5aae54b1082a0a2c59d0e6e3e64b349d0bd6f17 (patch) | |
tree | 4433d307b7b908bd7e4ccf381ee7b113c7c7c521 | |
parent | c02661a69dfc0c6949666f972129e2983a52cb1f (diff) |
do not free the hostname from the response
Signed-off-by: Raghavendra Bhat <raghavendrabhat@gluster.com>
Signed-off-by: Vijay Bellur <vijay@dev.gluster.com>
BUG: 1511 ()
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1511
-rw-r--r-- | xlators/mgmt/glusterd/src/glusterd-handler.c | 3 |
1 files changed, 1 insertions, 2 deletions
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; |