From 9b4716d8ed176ab23d6079e671a3fb7539a40d7e Mon Sep 17 00:00:00 2001 From: shishir gowda Date: Wed, 28 Sep 2011 17:02:34 +0530 Subject: stripe self_heal: Prevent call to spurious STACK_DESTROY. This will be destroyed in cbk. Porting commit d7642fb9bc13bb9c2da35bd8e80c311d5fc5096c from master. Change-Id: I174894d09100a68674b5e17544a8071da57b7f12 BUG: 3505 Reviewed-on: http://review.gluster.com/526 Tested-by: Gluster Build System Reviewed-by: Amar Tumballi --- xlators/cluster/stripe/src/stripe.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/xlators/cluster/stripe/src/stripe.c b/xlators/cluster/stripe/src/stripe.c index 536f26323..7e54bea76 100644 --- a/xlators/cluster/stripe/src/stripe.c +++ b/xlators/cluster/stripe/src/stripe.c @@ -204,6 +204,9 @@ 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