projects
/
pintos-anon
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
18654de
)
Free file in file_close().
author
Ben Pfaff
<blp@cs.stanford.edu>
Tue, 8 Feb 2005 18:27:26 +0000
(18:27 +0000)
committer
Ben Pfaff
<blp@cs.stanford.edu>
Tue, 8 Feb 2005 18:27:26 +0000
(18:27 +0000)
src/filesys/file.c
patch
|
blob
|
history
diff --git
a/src/filesys/file.c
b/src/filesys/file.c
index 27e907feabe36b689d40bf85ae0d865cdc5deef9..e8818c0029383a7d3a0f139963874bf81021dbc2 100644
(file)
--- a/
src/filesys/file.c
+++ b/
src/filesys/file.c
@@
-45,6
+45,7
@@
file_close (struct file *file)
inode_close (file->inode);
free (file->bounce);
+ free (file);
}
/* Reads SIZE bytes from FILE into BUFFER,