mirror of
https://github.com/reactos/reactos.git
synced 2025-01-01 03:54:02 +00:00
[WIN32SS][NTGDI] 'otm' is always non-NULL in epilogue
This commit is contained in:
parent
f2f833c53c
commit
1bf982ff88
1 changed files with 16 additions and 17 deletions
|
@ -928,8 +928,7 @@ NtGdiGetOutlineTextMetricsInternalW (HDC hDC,
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
IntGetOutlineTextMetrics(FontGDI, Size, potm);
|
IntGetOutlineTextMetrics(FontGDI, Size, potm);
|
||||||
if (otm)
|
|
||||||
{
|
|
||||||
_SEH2_TRY
|
_SEH2_TRY
|
||||||
{
|
{
|
||||||
ProbeForWrite(otm, Size, 1);
|
ProbeForWrite(otm, Size, 1);
|
||||||
|
@ -946,7 +945,7 @@ NtGdiGetOutlineTextMetricsInternalW (HDC hDC,
|
||||||
EngSetLastError(ERROR_INVALID_PARAMETER);
|
EngSetLastError(ERROR_INVALID_PARAMETER);
|
||||||
Size = 0;
|
Size = 0;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
ExFreePoolWithTag(potm,GDITAG_TEXT);
|
ExFreePoolWithTag(potm,GDITAG_TEXT);
|
||||||
return Size;
|
return Size;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue