schedsvc: Avoid mismatching heap in SchRpcEnumFolders.
This commit is contained in:
parent
a98319d0c5
commit
d59e89dab1
1 changed files with 1 additions and 1 deletions
|
@ -660,7 +660,7 @@ HRESULT __cdecl SchRpcEnumFolders(const WCHAR *path, DWORD flags, DWORD *start_i
|
|||
{
|
||||
TASK_NAMES new_list;
|
||||
allocated *= 2;
|
||||
new_list = heap_realloc(list, allocated * sizeof(list[0]));
|
||||
new_list = realloc(list, allocated * sizeof(list[0]));
|
||||
if (!new_list)
|
||||
{
|
||||
hr = E_OUTOFMEMORY;
|
||||
|
|
Loading…
Add table
Reference in a new issue