--- code/trunk/pcre_compile.c 2011/12/06 15:38:01 788 +++ code/trunk/pcre_compile.c 2011/12/07 16:52:34 793 @@ -7543,7 +7543,7 @@ because nowadays we limit the maximum value of cd->names_found and cd->name_entry_size. */ -size = length + sizeof(real_pcre) + cd->names_found * (cd->name_entry_size + 3); +size = length + sizeof(real_pcre) + cd->names_found * cd->name_entry_size; re = (real_pcre *)(pcre_malloc)(size); if (re == NULL)