mirror of
https://github.com/reactos/reactos.git
synced 2024-10-03 16:05:37 +00:00
fixed memory leak in CheckNameLegalDOS8Dot3A() (free the allocated unicode string)
svn path=/trunk/; revision=11493
This commit is contained in:
parent
f33c6e48c8
commit
8301eaaa24
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue