diff options
-rw-r--r-- | xlators/mgmt/glusterd/src/glusterd-syncop.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-syncop.c b/xlators/mgmt/glusterd/src/glusterd-syncop.c index 68720bdda..cebf19778 100644 --- a/xlators/mgmt/glusterd/src/glusterd-syncop.c +++ b/xlators/mgmt/glusterd/src/glusterd-syncop.c @@ -460,8 +460,7 @@ gd_syncop_brick_op_cbk (struct rpc_req *req, struct iovec *iov, args->errstr = gf_strdup (rsp.op_errstr); out: - if (strcmp (rsp.op_errstr, "") != 0) - free (rsp.op_errstr); + free (rsp.op_errstr); free (rsp.output.output_val); STACK_DESTROY (frame->root); |