[ros-diffs] [amunger] 28505: Free memory with the proper tag. Spotted by Gregor Brunmar (gregor dot brunmar at home dot se).
amunger at svn.reactos.org
amunger at svn.reactos.org
Fri Aug 24 09:43:43 CEST 2007
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=28505&r1=28504&r2=28505&view=diff
==============================================================================
--- 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));
}
}
More information about the Ros-diffs
mailing list