Author: pschweitzer
Date: Sat Feb  4 19:37:40 2017
New Revision: 73683

URL: http://svn.reactos.org/svn/reactos?rev=73683&view=rev
Log:
[FASTFAT]
vfatMakeFCBFromDirEntry(), use appropriate tag on free.
Dedicated to Thomas :-)

Modified:
    trunk/reactos/drivers/filesystems/fastfat/fcb.c

Modified: trunk/reactos/drivers/filesystems/fastfat/fcb.c
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/filesystems/fastfat/fcb.c?rev=73683&r1=73682&r2=73683&view=diff
==============================================================================
--- trunk/reactos/drivers/filesystems/fastfat/fcb.c     [iso-8859-1] (original)
+++ trunk/reactos/drivers/filesystems/fastfat/fcb.c     [iso-8859-1] Sat Feb  4 
19:37:40 2017
@@ -732,7 +732,7 @@
         if (!NT_SUCCESS(Status))
         {
             vfatReleaseFCB(vcb, rcFCB);
-            ExFreePool(NameU.Buffer);
+            ExFreePoolWithTag(NameU.Buffer, TAG_FCB);
             return Status;
         }
     }
@@ -741,7 +741,7 @@
     vfatAddFCBToTable(vcb, rcFCB);
     *fileFCB = rcFCB;
 
-    ExFreePool(NameU.Buffer);
+    ExFreePoolWithTag(NameU.Buffer, TAG_FCB);
     return STATUS_SUCCESS;
 }
 


Reply via email to