mirror of
https://github.com/reactos/reactos.git
synced 2026-05-30 23:33:24 +08:00
[WIN32K] Fix a bug in PATH_PathToRegion
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user