summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAvra Sengupta <asengupt@redhat.com>2014-03-28 01:06:21 +0000
committerRajesh Joseph <rjoseph@redhat.com>2014-03-28 05:17:27 -0700
commit3bca32ddf05aa97b67722e0c6b64eb0a24c068da (patch)
tree2f8c60a7def07c9cc48942fe2ceaf2e3c440189e
parent42c98f4f1180e8cf91068a70646ca94a70400f2a (diff)
Crash Fixes introduced by review comments
Change-Id: I22f9828e39494a8e1ad37c9a2ff78866d117e6af Signed-off-by: Avra Sengupta <asengupt@redhat.com> Reviewed-on: http://review.gluster.org/7365 Reviewed-by: Sachin Pandit <spandit@redhat.com> Reviewed-by: Vijaikumar Mallikarjuna <vmallika@redhat.com> Reviewed-by: Rajesh Joseph <rjoseph@redhat.com> Tested-by: Rajesh Joseph <rjoseph@redhat.com>
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-mgmt.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-mgmt.c b/xlators/mgmt/glusterd/src/glusterd-mgmt.c
index 1e53535..c905977 100644
--- a/xlators/mgmt/glusterd/src/glusterd-mgmt.c
+++ b/xlators/mgmt/glusterd/src/glusterd-mgmt.c
@@ -37,7 +37,6 @@ gd_mgmt_v3_collate_errors (struct syncargs *args, int op_ret, int op_errno,
this = THIS;
GF_ASSERT (this);
GF_ASSERT (args);
- GF_ASSERT (op_errstr);
GF_ASSERT (uuid);
if (op_ret) {
@@ -570,8 +569,6 @@ out:
if (rsp.op_errstr)
free (rsp.op_errstr);
- free (rsp.dict.dict_val);
-
STACK_DESTROY (frame->root);
synctask_barrier_wake(args);
return 0;
@@ -1033,7 +1030,6 @@ out:
GLUSTERD_MGMT_V3_COMMIT,
peerinfo, rsp.uuid);
- free (rsp.dict.dict_val);
STACK_DESTROY (frame->root);
synctask_barrier_wake(args);
return 0;