diff options
| -rw-r--r-- | xlators/mgmt/glusterd/src/glusterd-volume-ops.c | 7 | 
1 files changed, 4 insertions, 3 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-volume-ops.c b/xlators/mgmt/glusterd/src/glusterd-volume-ops.c index c6bde925de2..8e6b2e9269d 100644 --- a/xlators/mgmt/glusterd/src/glusterd-volume-ops.c +++ b/xlators/mgmt/glusterd/src/glusterd-volume-ops.c @@ -268,11 +268,12 @@ out:          glusterd_friend_sm ();          glusterd_op_sm (); -        if (ret) +        if (ret) {                  ret = glusterd_op_send_cli_response (cli_op, ret, 0, req,                                                       dict, "operation failed"); -        if (dict) -                dict_unref (dict); +                if (dict) +                        dict_unref (dict); +        }          return ret;  }  | 
