patch attached
Created attachment 4539 [details] regexec.c: avoid leaks on out-of-memory failure paths 2010-01-19 Paul Eggert <eggert@cs.ucla.edu> [BZ #11192] regexec.c: avoid leaks on out-of-memory failure paths * posix/regexec.c (re_copy_regs): Don't leak when allocation of the start buffer succeeds but allocation of the "end" one fails. In two places.
Checked into git.