Commit 3feaca75 authored by Paul Gofman's avatar Paul Gofman Committed by Alexandre Julliard

iphlpapi: Fix buffer reallocation in get_pid_map().

parent 3d546775
......@@ -1912,6 +1912,7 @@ static struct pid_map *get_pid_map( unsigned int *num_entries )
HeapFree( GetProcessHeap(), 0, buffer );
return NULL;
}
buffer = new_buffer;
}
if (!(map = HeapAlloc( GetProcessHeap(), 0, map_count * sizeof(*map) )))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment