mlang: Avoid unneeded HeapReAlloc.
Our current code enumerates 145 Rfc1766 entries, so use a more resonable start value.
This commit is contained in:
parent
6eec511798
commit
722bc5a864
|
@ -2490,7 +2490,7 @@ static HRESULT EnumRfc1766_create(LANGID LangId, IEnumRfc1766 **ppEnum)
|
|||
rfc->total = 0;
|
||||
|
||||
data.total = 0;
|
||||
data.allocated = 32;
|
||||
data.allocated = 160;
|
||||
data.info = HeapAlloc(GetProcessHeap(), 0, data.allocated * sizeof(RFC1766INFO));
|
||||
if (!data.info)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue