mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 08:55:19 +00:00
[NTOSKRNL]
Fix a memory leak svn path=/trunk/; revision=56367
This commit is contained in:
parent
a9d728c50a
commit
c20ab1959d
1 changed files with 6 additions and 1 deletions
|
@ -4,7 +4,7 @@
|
|||
* FILE: ntoskrnl/fsrtl/name.c
|
||||
* PURPOSE: Provides DBCS parsing and other support routines for FSDs
|
||||
* PROGRAMMERS: Alex Ionescu (alex.ionescu@reactos.org)
|
||||
* Pierre Schweitzer (pierre.schweitzer@reactos.org)
|
||||
* Pierre Schweitzer (pierre.schweitzer@reactos.org)
|
||||
*/
|
||||
|
||||
/* INCLUDES ******************************************************************/
|
||||
|
@ -251,6 +251,11 @@ FsRtlIsDbcsInExpression(IN PANSI_STRING Expression,
|
|||
ExpressionPosition++;
|
||||
}
|
||||
|
||||
if (BackTracking)
|
||||
{
|
||||
ExFreePoolWithTag(BackTracking, 'nrSF');
|
||||
}
|
||||
|
||||
return (ExpressionPosition == Expression->Length && NamePosition == Name->Length);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue