ExFreePool -> ExFreePoolWithTag changes
Modified: trunk/reactos/lib/rtl/unicode.c
_____
Modified: trunk/reactos/lib/rtl/unicode.c
--- trunk/reactos/lib/rtl/unicode.c 2005-05-05 18:32:46 UTC (rev
15012)
+++ trunk/reactos/lib/rtl/unicode.c 2005-05-05 18:59:14 UTC (rev
15013)
@@ -352,7 +352,7 @@
if (AnsiString->Buffer == NULL)
return;
- ExFreePool(AnsiString->Buffer);
+ ExFreePoolWithTag(AnsiString->Buffer, TAG_ASTR);
AnsiString->Buffer = NULL;
AnsiString->Length = 0;
@@ -370,7 +370,7 @@
if (OemString->Buffer == NULL)
return;
- ExFreePool(OemString->Buffer);
+ ExFreePoolWithTag(OemString->Buffer, TAG_OSTR);
OemString->Buffer = NULL;
OemString->Length = 0;
@@ -388,7 +388,7 @@
if (UnicodeString->Buffer == NULL)
return;
- ExFreePool(UnicodeString->Buffer);
+ ExFreePoolWithTag(UnicodeString->Buffer, TAG_USTR);
UnicodeString->Buffer = NULL;
UnicodeString->Length = 0;
@@ -1010,7 +1010,7 @@
if (!NT_SUCCESS(Status) && AllocateDestinationString)
{
- ExFreePool (AnsiDest->Buffer);
+ ExFreePoolWithTag(AnsiDest->Buffer, TAG_ASTR);
return Status;
}
@@ -1094,7 +1094,7 @@
if (!NT_SUCCESS(Status) && AllocateDestinationString)
{
- ExFreePool (UniDest->Buffer);
+ ExFreePoolWithTag(UniDest->Buffer, TAG_USTR);
return Status;
}
@@ -1178,7 +1178,7 @@
if (!NT_SUCCESS(Status) && AllocateDestinationString)
{
- ExFreePool(OemDest->Buffer);
+ ExFreePoolWithTag(OemDest->Buffer, TAG_OSTR);
return Status;
}
@@ -1320,7 +1320,7 @@
if (!NT_SUCCESS(Status) && AllocateDestinationString)
{
- ExFreePool (UniDest->Buffer);
+ ExFreePoolWithTag(UniDest->Buffer, TAG_USTR);
return Status;
}
@@ -1653,7 +1653,7 @@
if (!NT_SUCCESS(Status) && AllocateDestinationString)
{
- ExFreePool(OemDest->Buffer);
+ ExFreePoolWithTag(OemDest->Buffer, TAG_OSTR);
}
return Status;
@@ -1857,7 +1857,7 @@
if (!NT_SUCCESS(Status) && AllocateDestinationString)
{
- ExFreePool(AnsiDest->Buffer);
+ ExFreePoolWithTag(AnsiDest->Buffer, TAG_ASTR);
return Status;
}
@@ -1945,7 +1945,7 @@
if (!NT_SUCCESS(Status) && AllocateDestinationString)
{
- ExFreePool(OemDest->Buffer);
+ ExFreePoolWithTag(OemDest->Buffer, TAG_OSTR);
return Status;
}
@@ -2032,7 +2032,7 @@
if (!NT_SUCCESS(Status) && AllocateDestinationString)
{
- ExFreePool(OemDest->Buffer);
+ ExFreePoolWithTag(OemDest->Buffer, TAG_OSTR);
return Status;
}
@@ -2495,7 +2495,7 @@
if (!NT_SUCCESS(Status) && AllocateDestinationString)
{
- ExFreePool(UniDest->Buffer);
+ ExFreePoolWithTag(UniDest->Buffer, TAG_USTR);
return Status;
}