projects
/
pintos-anon
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
33b8d78
)
file_write_at() mustn't free bounce buffer.
author
Ben Pfaff
<blp@cs.stanford.edu>
Sun, 5 Sep 2004 08:14:47 +0000
(08:14 +0000)
committer
Ben Pfaff
<blp@cs.stanford.edu>
Sun, 5 Sep 2004 08:14:47 +0000
(08:14 +0000)
src/filesys/file.c
patch
|
blob
|
history
diff --git
a/src/filesys/file.c
b/src/filesys/file.c
index 8969e179e093ec6c9fd540e995867cfb08ba198f..323470efdd568a5dcea711366c8bd1bd263ff80d 100644
(file)
--- a/
src/filesys/file.c
+++ b/
src/filesys/file.c
@@
-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;
}