summaryrefslogtreecommitdiffstats
path: root/xlators
diff options
context:
space:
mode:
authorAmar Tumballi <amar@gluster.com>2010-11-12 04:05:22 +0000
committerAnand V. Avati <avati@dev.gluster.com>2010-11-13 07:02:32 -0800
commited8499c728df609a3d09743ee60f85f6ecea9d16 (patch)
tree5fa9d89383c32705d3a3ce341fb828c930d31d3b /xlators
parent26db1945888a4c85d55c3c5c75beb49e09c19588 (diff)
distribute: handle a case of 'local->key' being free'd twice.
Signed-off-by: Amar Tumballi <amar@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 2097 () URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2097
Diffstat (limited to 'xlators')
-rw-r--r--xlators/cluster/dht/src/dht-common.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/xlators/cluster/dht/src/dht-common.c b/xlators/cluster/dht/src/dht-common.c
index 1ab55ccdc97..e20472646ee 100644
--- a/xlators/cluster/dht/src/dht-common.c
+++ b/xlators/cluster/dht/src/dht-common.c
@@ -1751,7 +1751,6 @@ dht_pathinfo_getxattr_cbk (call_frame_t *frame, void *cookie, xlator_t *this,
if (local->pathinfo)
GF_FREE (local->pathinfo);
- GF_FREE (local->key);
DHT_STACK_UNWIND (getxattr, frame, op_ret, op_errno, dict);