X-Git-Url: https://git.reactos.org/?p=reactos.git;a=blobdiff_plain;f=reactos%2Fdrivers%2Ffs%2Fvfat%2Ffcb.c;h=0baee0a76246524c9f82678855405e5236fd1c6a;hp=b3ff4b04c8beeceb4744e98a34f30ed34029bd47;hb=035f768d4aea79b91403acef5f8142513f64d44a;hpb=550ffd05d5a544a30ead4fd4350ba5e492003bf4 diff --git a/reactos/drivers/fs/vfat/fcb.c b/reactos/drivers/fs/vfat/fcb.c index b3ff4b04c8b..0baee0a7624 100644 --- a/reactos/drivers/fs/vfat/fcb.c +++ b/reactos/drivers/fs/vfat/fcb.c @@ -1,4 +1,4 @@ -/* $Id: fcb.c,v 1.12 2002/01/08 00:49:01 dwelch Exp $ +/* $Id: fcb.c,v 1.13 2002/01/15 21:54:51 hbirr Exp $ * * * FILE: fcb.c @@ -58,6 +58,8 @@ vfatDestroyFCB(PVFATFCB pFCB) { ExDeleteResourceLite(&pFCB->PagingIoResource); ExDeleteResourceLite(&pFCB->MainResource); + if ((pFCB->Flags & FCB_IS_PAGE_FILE) && pFCB->FatChainSize) + ExFreePool(pFCB->FatChain); ExFreePool (pFCB); }