summaryrefslogtreecommitdiffstats
path: root/xlators/cluster/stripe/src/stripe.c
diff options
context:
space:
mode:
authorshishir gowda <shishirng@gluster.com>2011-09-28 16:40:12 +0530
committerVijay Bellur <vijay@gluster.com>2011-09-28 10:39:29 -0700
commit83c2da72c0371a4d776d998d5695221533d9ea5f (patch)
tree1980c95be1cb16c5142d64d7e3ba344a5c77449a /xlators/cluster/stripe/src/stripe.c
parentedd9461647e845074cdf7f189af5ee0b2b5cae8b (diff)
stripe self_heal: Prevent call to spurious STACK_DESTROY.
this will be destroyed in cbk. Porting commit d7642fb9bc13bb9c2da35bd8e80c311d5fc5096c from master. Change-Id: I46ea53433e782af48f06dda1ab1390b900966e8a BUG: 3505 Reviewed-on: http://review.gluster.com/524 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Amar Tumballi <amar@gluster.com>
Diffstat (limited to 'xlators/cluster/stripe/src/stripe.c')
-rw-r--r--xlators/cluster/stripe/src/stripe.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/xlators/cluster/stripe/src/stripe.c b/xlators/cluster/stripe/src/stripe.c
index 7276255..98fb2eb 100644
--- a/xlators/cluster/stripe/src/stripe.c
+++ b/xlators/cluster/stripe/src/stripe.c
@@ -218,6 +218,10 @@ stripe_entry_self_heal (call_frame_t *frame, xlator_t *this,
}
trav = trav->next;
}
+ if (dict)
+ dict_unref (dict);
+ return 0;
+
out:
if (rframe)