mirror of
https://github.com/reactos/reactos.git
synced 2024-08-28 06:08:23 +00:00
Free the DirectorySeachPattern.
svn path=/trunk/; revision=3577
This commit is contained in:
parent
a2d32d6cf7
commit
749530e630
|
@ -1,4 +1,4 @@
|
|||
/* $Id: close.c,v 1.13 2002/08/14 20:58:31 dwelch Exp $
|
||||
/* $Id: close.c,v 1.14 2002/09/30 20:48:43 hbirr Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS kernel
|
||||
|
@ -72,6 +72,8 @@ VfatCloseFile (PDEVICE_EXTENSION DeviceExt, PFILE_OBJECT FileObject)
|
|||
else
|
||||
FileObject->FsContext2 = NULL;
|
||||
|
||||
if (pCcb->DirectorySearchPattern)
|
||||
ExFreePool(pCcb->DirectorySearchPattern);
|
||||
ExFreePool (pCcb);
|
||||
|
||||
return Status;
|
||||
|
|
Loading…
Reference in a new issue