fixed memory leak in CheckNameLegalDOS8Dot3A() (free the allocated unicode string)

svn path=/trunk/; revision=11493
This commit is contained in:
Thomas Bluemel 2004-10-31 01:36:37 +00:00
parent f33c6e48c8
commit 8301eaaa24

View file

@ -1,4 +1,4 @@
/* $Id: file.c,v 1.59 2004/10/30 22:18:17 weiden Exp $
/* $Id: file.c,v 1.60 2004/10/31 01:36:37 weiden Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS system libraries
@ -1449,6 +1449,8 @@ CheckNameLegalDOS8Dot3A(
(lpOemName ? &AnsiName : NULL),
(BOOLEAN*)pbNameContainsSpaces);
RtlFreeUnicodeString(&Name);
return TRUE;
}