mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 13:35:47 +00:00
[NTOS:FSRTL] Handle failure case
svn path=/trunk/; revision=72870
This commit is contained in:
parent
076a3c9cb7
commit
c60a62e0de
1 changed files with 7 additions and 1 deletions
|
@ -294,7 +294,13 @@ FsRtlAreNamesEqual(IN PCUNICODE_STRING Name1,
|
|||
if (!NT_SUCCESS(Status)) RtlRaiseStatus(Status);
|
||||
|
||||
/* Upcase the second string too */
|
||||
RtlUpcaseUnicodeString(&UpcaseName2, Name2, TRUE);
|
||||
Status = RtlUpcaseUnicodeString(&UpcaseName2, Name2, TRUE);
|
||||
if (!NT_SUCCESS(Status))
|
||||
{
|
||||
RtlFreeUnicodeString(&UpcaseName1);
|
||||
RtlRaiseStatus(Status);
|
||||
}
|
||||
|
||||
Name1 = &UpcaseName1;
|
||||
Name2 = &UpcaseName2;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue