Fixed a memory leakage in DeleteFileW.

svn path=/trunk/; revision=2876
This commit is contained in:
Hartmut Birr 2002-04-27 19:13:41 +00:00
parent 6d95c53a84
commit a82ce4daf4

View file

@ -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 * COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS system libraries * PROJECT: ReactOS system libraries
@ -97,6 +97,8 @@ DeleteFileW (
NULL, NULL,
0); 0);
RtlFreeUnicodeString(&NtPathU);
if (!NT_SUCCESS(Status)) if (!NT_SUCCESS(Status))
{ {
CHECKPOINT; CHECKPOINT;