Author: amunger
Date: Fri Aug 24 11:43:42 2007
New Revision: 28505
URL:
http://svn.reactos.org/svn/reactos?rev=28505&view=rev
Log:
Free memory with the proper tag.
Spotted by Gregor Brunmar (gregor dot brunmar at home dot se).
Modified:
trunk/reactos/lib/rtl/unicode.c
Modified: trunk/reactos/lib/rtl/unicode.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/rtl/unicode.c?rev=2850…
==============================================================================
--- trunk/reactos/lib/rtl/unicode.c (original)
+++ trunk/reactos/lib/rtl/unicode.c Fri Aug 24 11:43:42 2007
@@ -388,7 +388,7 @@
if (UnicodeString->Buffer)
{
- RtlpFreeStringMemory(UnicodeString->Buffer, TAG_ASTR);
+ RtlpFreeStringMemory(UnicodeString->Buffer, TAG_USTR);
RtlZeroMemory(UnicodeString, sizeof(UNICODE_STRING));
}
}