mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
[WIN32K] Do not try to free a unicode string that is an int-resource
This commit is contained in:
parent
26a64324e7
commit
8650eac76c
1 changed files with 2 additions and 1 deletions
|
@ -1665,7 +1665,8 @@ Exit:
|
||||||
/* Additional cleanup on failure */
|
/* Additional cleanup on failure */
|
||||||
if (bResult == FALSE)
|
if (bResult == FALSE)
|
||||||
{
|
{
|
||||||
if (ustrRsrc.Buffer != NULL)
|
if ((ustrRsrc.Buffer != NULL) &&
|
||||||
|
!IS_INTRESOURCE(ustrRsrc.Buffer))
|
||||||
{
|
{
|
||||||
ExFreePoolWithTag(ustrRsrc.Buffer, TAG_STRING);
|
ExFreePoolWithTag(ustrRsrc.Buffer, TAG_STRING);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue