From 83c2da72c0371a4d776d998d5695221533d9ea5f Mon Sep 17 00:00:00 2001 From: shishir gowda Date: Wed, 28 Sep 2011 16:40:12 +0530 Subject: 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 Reviewed-by: Amar Tumballi --- xlators/cluster/stripe/src/stripe.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/xlators/cluster/stripe/src/stripe.c b/xlators/cluster/stripe/src/stripe.c index 72762555aa0..98fb2eb8315 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) -- cgit