diff options
-rw-r--r-- | xlators/mount/fuse/src/fuse-bridge.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/xlators/mount/fuse/src/fuse-bridge.c b/xlators/mount/fuse/src/fuse-bridge.c index bd8bc114a32..492ce970ff2 100644 --- a/xlators/mount/fuse/src/fuse-bridge.c +++ b/xlators/mount/fuse/src/fuse-bridge.c @@ -6054,8 +6054,12 @@ fuse_thread_proc(void *data) cont_err: iobuf_unref(iobuf); GF_FREE(iov_in[0].iov_base); + iov_in[0].iov_base = NULL; } + if (iov_in[0].iov_base) + GF_FREE(iov_in[0].iov_base); + /* * We could be in all sorts of states with respect to iobuf and iov_in * by the time we get here, and it's just not worth untangling them if |