commit | 722bc5a864339eba58c454144b85937ec4246b2a | [log] [tgz] |
---|---|---|
author | Detlef Riekenberg <wine.dev@web.de> | Sat May 30 00:29:53 2009 +0200 |
committer | Alexandre Julliard <julliard@winehq.org> | Mon Jun 01 16:16:05 2009 +0200 |
tree | 1f31b2de9ec6cda87a6bb7aa16dd84cbf671071e | |
parent | 6eec51179819217137365ef5190698a71416bacf [diff] [blame] |
mlang: Avoid unneeded HeapReAlloc. Our current code enumerates 145 Rfc1766 entries, so use a more resonable start value.
diff --git a/dlls/mlang/mlang.c b/dlls/mlang/mlang.c index 733aac9..4d2f7be 100644 --- a/dlls/mlang/mlang.c +++ b/dlls/mlang/mlang.c
@@ -2490,7 +2490,7 @@ rfc->total = 0; data.total = 0; - data.allocated = 32; + data.allocated = 160; data.info = HeapAlloc(GetProcessHeap(), 0, data.allocated * sizeof(RFC1766INFO)); if (!data.info) {