mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
Fixed a memory leakage in DeleteFileW.
svn path=/trunk/; revision=2876
This commit is contained in:
parent
6d95c53a84
commit
a82ce4daf4
1 changed files with 4 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
/* $Id: delete.c,v 1.9 2001/08/14 20:50:47 hbirr Exp $
|
||||
/* $Id: delete.c,v 1.10 2002/04/27 19:13:41 hbirr Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS system libraries
|
||||
|
@ -93,10 +93,12 @@ DeleteFileW (
|
|||
FILE_ATTRIBUTE_NORMAL,
|
||||
0,
|
||||
FILE_OPEN,
|
||||
FILE_NON_DIRECTORY_FILE,
|
||||
FILE_NON_DIRECTORY_FILE,
|
||||
NULL,
|
||||
0);
|
||||
|
||||
RtlFreeUnicodeString(&NtPathU);
|
||||
|
||||
if (!NT_SUCCESS(Status))
|
||||
{
|
||||
CHECKPOINT;
|
||||
|
|
Loading…
Reference in a new issue