Commit in reactos/lib/kernel32/file on MAIN | |||
file.c | +3 | -1 | 1.59 -> 1.60 |
fixed memory leak in CheckNameLegalDOS8Dot3A() (free the allocated unicode string)
diff -u -r1.59 -r1.60 --- file.c 30 Oct 2004 22:18:17 -0000 1.59 +++ file.c 31 Oct 2004 01:36:37 -0000 1.60 @@ -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 @@
(lpOemName ? &AnsiName : NULL), (BOOLEAN*)pbNameContainsSpaces);
+ RtlFreeUnicodeString(&Name); +
return TRUE; }