Commit in reactos/ntoskrnl/cc on MAIN
view.c+2-11.77 -> 1.78
- Call MmFreeSectionSegments if the Bcb reference count is zero (in CcRosReleaseFileCache).

reactos/ntoskrnl/cc
view.c 1.77 -> 1.78
diff -u -r1.77 -r1.78
--- view.c	25 Aug 2004 15:08:29 -0000	1.77
+++ view.c	19 Sep 2004 12:11:44 -0000	1.78
@@ -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.77 2004/08/25 15:08:29 navaraf Exp $
+/* $Id: view.c,v 1.78 2004/09/19 12:11:44 hbirr Exp $
  *
  * PROJECT:         ReactOS kernel
  * FILE:            ntoskrnl/cc/view.c
@@ -1088,6 +1088,7 @@
          Bcb->RefCount--;
 	 if (Bcb->RefCount == 0)
 	 {
+            MmFreeSectionSegments(Bcb->FileObject);
 	    if (Bcb->RemoveOnClose)
 	    {
 	       CcRosDeleteFileCache(FileObject, Bcb);
CVSspam 0.2.8