mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 08:55:19 +00:00
Free memory with the proper tag.
Spotted by Gregor Brunmar (gregor dot brunmar at home dot se). svn path=/trunk/; revision=28505
This commit is contained in:
parent
dea1da8be6
commit
e6b469c9c0
1 changed files with 1 additions and 1 deletions
|
@ -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));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue