mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
[WIN32K] Fix a bug in PATH_PathToRegion
This commit is contained in:
parent
84b09285c8
commit
4f0f5f6ff8
1 changed files with 1 additions and 1 deletions
|
@ -1459,7 +1459,7 @@ PATH_PathToRegion(
|
|||
|
||||
if (!pPath->numEntriesUsed) return FALSE;
|
||||
|
||||
counts = ExAllocatePoolWithTag(PagedPool, (pPath->numEntriesUsed / 2) * sizeof(counts), TAG_PATH);
|
||||
counts = ExAllocatePoolWithTag(PagedPool, (pPath->numEntriesUsed / 2) * sizeof(*counts), TAG_PATH);
|
||||
if (!counts)
|
||||
{
|
||||
ERR("Failed to allocate %lu strokes\n", (pPath->numEntriesUsed / 2) * sizeof(*counts));
|
||||
|
|
Loading…
Reference in a new issue