projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
06bac7f
)
- Call MmFreeSectionSegments if the Bcb reference count is zero (in CcRosReleaseFileC...
author
Hartmut Birr
<osexpert@googlemail.com>
Sun, 19 Sep 2004 12:11:44 +0000
(12:11 +0000)
committer
Hartmut Birr
<osexpert@googlemail.com>
Sun, 19 Sep 2004 12:11:44 +0000
(12:11 +0000)
svn path=/trunk/; revision=10917
reactos/ntoskrnl/cc/view.c
patch
|
blob
|
history
diff --git
a/reactos/ntoskrnl/cc/view.c
b/reactos/ntoskrnl/cc/view.c
index
be59a7d
..
f8c7f98
100644
(file)
--- a/
reactos/ntoskrnl/cc/view.c
+++ b/
reactos/ntoskrnl/cc/view.c
@@
-16,7
+16,7
@@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
-/* $Id: view.c,v 1.7
7 2004/08/25 15:08:29 navaraf
Exp $
+/* $Id: view.c,v 1.7
8 2004/09/19 12:11:44 hbirr
Exp $
*
* PROJECT: ReactOS kernel
* FILE: ntoskrnl/cc/view.c
@@
-1088,6
+1088,7
@@
CcRosReleaseFileCache(PFILE_OBJECT FileObject)
Bcb->RefCount--;
if (Bcb->RefCount == 0)
{
+ MmFreeSectionSegments(Bcb->FileObject);
if (Bcb->RemoveOnClose)
{
CcRosDeleteFileCache(FileObject, Bcb);