summaryrefslogtreecommitdiffstats
path: root/xlators/cluster/stripe/src/stripe.c
diff options
context:
space:
mode:
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 bda38298f..639fbfd8b 100644
--- a/xlators/cluster/stripe/src/stripe.c
+++ b/xlators/cluster/stripe/src/stripe.c
@@ -203,6 +203,8 @@ stripe_entry_self_heal (call_frame_t *frame, xlator_t *this,
}
out:
+ if (rframe)
+ STRIPE_STACK_DESTROY (rframe);
if (dict)
dict_unref (dict);
@@ -3389,6 +3391,8 @@ stripe_readv (call_frame_t *frame, xlator_t *this, fd_t *fd,
err:
if (local && local->fd)
fd_unref (local->fd);
+ if (rframe)
+ STRIPE_STACK_DESTROY (rframe);
STRIPE_STACK_UNWIND (readv, frame, -1, op_errno, NULL, 0, NULL, NULL);
return 0;