[NTOSKRNL]

Fix a memory leak


svn path=/trunk/; revision=56367
This commit is contained in:
Pierre Schweitzer
2012-04-19 20:55:59 +00:00
parent a9d728c50a
commit c20ab1959d
+6 -1
View File
@@ -4,7 +4,7 @@
* FILE: ntoskrnl/fsrtl/name.c
* PURPOSE: Provides DBCS parsing and other support routines for FSDs
* PROGRAMMERS: Alex Ionescu ([email protected])
* Pierre Schweitzer ([email protected])
* Pierre Schweitzer ([email protected])
*/
/* INCLUDES ******************************************************************/
@@ -251,6 +251,11 @@ FsRtlIsDbcsInExpression(IN PANSI_STRING Expression,
ExpressionPosition++;
}
if (BackTracking)
{
ExFreePoolWithTag(BackTracking, 'nrSF');
}
return (ExpressionPosition == Expression->Length && NamePosition == Name->Length);
}