summaryrefslogtreecommitdiff
path: root/lib/fuse_lowlevel.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/fuse_lowlevel.c')
-rw-r--r--lib/fuse_lowlevel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/fuse_lowlevel.c b/lib/fuse_lowlevel.c
index 8853346..5de0ab8 100644
--- a/lib/fuse_lowlevel.c
+++ b/lib/fuse_lowlevel.c
@@ -688,11 +688,11 @@ static int fuse_send_data_iov(struct fuse_ll *f, struct fuse_chan *ch,
goto clear_pipe;
}
res = read_back(llp->pipe[0], tmpbuf, headerlen);
+ free(tmpbuf);
if (res != 0) {
free(mbuf);
goto clear_pipe;
}
- free(tmpbuf);
res = read_back(llp->pipe[0], mbuf, now_len);
if (res != 0) {
free(mbuf);