diff options
| -rw-r--r-- | xlators/cluster/stripe/src/stripe.c | 4 | 
1 files changed, 3 insertions, 1 deletions
diff --git a/xlators/cluster/stripe/src/stripe.c b/xlators/cluster/stripe/src/stripe.c index c64e8bfcb6d..a98e14e9508 100644 --- a/xlators/cluster/stripe/src/stripe.c +++ b/xlators/cluster/stripe/src/stripe.c @@ -3097,9 +3097,11 @@ stripe_readv_fstat_cbk (call_frame_t *frame, void *cookie, xlator_t *this,                                          goto done;                                  }                                  memset (iobuf->ptr, 0, vec[count].iov_len); -                                iobref_add (local->iobref, iobuf);                                  vec[count].iov_base = iobuf->ptr; +                                iobref_add (local->iobref, iobuf); +                                iobuf_unref(iobuf); +                                  op_ret += vec[count].iov_len;                                  count++;                          }  | 
