summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJunaid <junaid@gluster.com>2011-03-25 01:44:20 +0000
committerVijay Bellur <vijay@dev.gluster.com>2011-03-26 06:45:37 -0700
commitc55d855c74d860ff0dae942f95c290eba45f15f8 (patch)
tree727ff29f404848d3602737105db98498d5ada6b6
parent3f6be7a12972684500d4357a170a3de4f452a63b (diff)
mgmt/glusterd: Fix double memory free.
Signed-off-by: Junaid <junaid@gluster.com> Signed-off-by: Vijay Bellur <vijay@dev.gluster.com> BUG: 2473 (Support for volume and directory level quota) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2473
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-op-sm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-op-sm.c b/xlators/mgmt/glusterd/src/glusterd-op-sm.c
index e6f257aa9aa..ca8f5546a28 100644
--- a/xlators/mgmt/glusterd/src/glusterd-op-sm.c
+++ b/xlators/mgmt/glusterd/src/glusterd-op-sm.c
@@ -4600,6 +4600,7 @@ out:
gf_log ("", GF_LOG_DEBUG,
"failed to set error message in ctx");
}
+ *op_errstr = NULL;
}
return ret;