Gijs Vermeulen gijsvrm@gmail.com wrote:
- len = sizeof(*si) + symbol->MaxNameLen * sizeof(WCHAR);
- if (!(si = HeapAlloc(GetProcessHeap(), 0, len))) return FALSE;
- len = WideCharToMultiByte(CP_ACP, 0, name, -1, NULL, 0, NULL, NULL);
- if (!(tmp = HeapAlloc(GetProcessHeap(), 0, len))) return FALSE;
'si' is leaked on error path.