From e6b469c9c02c5fc49dfbf7e0c3df794b0fcc7a7d Mon Sep 17 00:00:00 2001 From: Andrew Munger Date: Fri, 24 Aug 2007 07:43:42 +0000 Subject: [PATCH] Free memory with the proper tag. Spotted by Gregor Brunmar (gregor dot brunmar at home dot se). svn path=/trunk/; revision=28505 --- reactos/lib/rtl/unicode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/lib/rtl/unicode.c b/reactos/lib/rtl/unicode.c index b9b9586dfea..ba393d5958b 100644 --- a/reactos/lib/rtl/unicode.c +++ b/reactos/lib/rtl/unicode.c @@ -388,7 +388,7 @@ RtlFreeUnicodeString(IN PUNICODE_STRING UnicodeString) if (UnicodeString->Buffer) { - RtlpFreeStringMemory(UnicodeString->Buffer, TAG_ASTR); + RtlpFreeStringMemory(UnicodeString->Buffer, TAG_USTR); RtlZeroMemory(UnicodeString, sizeof(UNICODE_STRING)); } }