aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/9pfuse
diff options
context:
space:
mode:
authorRuss Cox <rsc@swtch.com>2008-05-05 23:05:56 -0400
committerRuss Cox <rsc@swtch.com>2008-05-05 23:05:56 -0400
commit3c8afaf281cc0d7123abb47222270ad8c05545cb (patch)
tree1fef708f7f40a944bcd55db64281d543d69cbc68 /src/cmd/9pfuse
parent0445f64f6433a05bdcf541c5aca504dcc6207d62 (diff)
downloadplan9port-3c8afaf281cc0d7123abb47222270ad8c05545cb.tar.gz
plan9port-3c8afaf281cc0d7123abb47222270ad8c05545cb.tar.bz2
plan9port-3c8afaf281cc0d7123abb47222270ad8c05545cb.zip
9pfuse: bug fix in error case
Diffstat (limited to 'src/cmd/9pfuse')
-rw-r--r--src/cmd/9pfuse/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cmd/9pfuse/main.c b/src/cmd/9pfuse/main.c
index fa27cb9c..92124a73 100644
--- a/src/cmd/9pfuse/main.c
+++ b/src/cmd/9pfuse/main.c
@@ -800,6 +800,7 @@ fuseread(FuseMsg *m)
if(n < 0){
free(buf);
replyfuseerrstr(m);
+ return;
}
replyfuse(m, buf, n);
free(buf);