file_write_at() mustn't free bounce buffer.
authorBen Pfaff <blp@cs.stanford.edu>
Sun, 5 Sep 2004 08:14:47 +0000 (08:14 +0000)
committerBen Pfaff <blp@cs.stanford.edu>
Sun, 5 Sep 2004 08:14:47 +0000 (08:14 +0000)
src/filesys/file.c

index 8969e179e093ec6c9fd540e995867cfb08ba198f..323470efdd568a5dcea711366c8bd1bd263ff80d 100644 (file)
@@ -119,7 +119,6 @@ file_write_at (struct file *file, const void *buffer_, off_t size,
       file_ofs += chunk_size;
       bytes_written += chunk_size;
     }
-  free (file->bounce);
 
   return bytes_written;
 }