summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorshishir gowda <shishirng@gluster.com>2011-09-28 17:02:34 +0530
committerVijay Bellur <vijay@gluster.com>2011-09-28 11:56:34 -0700
commit9b4716d8ed176ab23d6079e671a3fb7539a40d7e (patch)
tree9d11b94be2ac3817451271d53d8f79d28a345e80
parent021fac0c945e364d710a6bb5587c056bca47728c (diff)
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 <jenkins@build.gluster.com> Reviewed-by: Amar Tumballi <amar@gluster.com>
-rw-r--r--xlators/cluster/stripe/src/stripe.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/xlators/cluster/stripe/src/stripe.c b/xlators/cluster/stripe/src/stripe.c
index 536f2632355..7e54bea7615 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)