9pfuse: bug fix in error case

This commit is contained in:
Russ Cox 2008-05-05 23:05:56 -04:00
parent 0445f64f64
commit 3c8afaf281

View file

@ -800,6 +800,7 @@ fuseread(FuseMsg *m)
if(n < 0){
free(buf);
replyfuseerrstr(m);
return;
}
replyfuse(m, buf, n);
free(buf);