* posix/regcomp.c (re_comp): Call __regfree on re_comp_buf.
authorRoland McGrath <roland@gnu.org>
Thu, 24 Oct 2002 00:22:27 +0000 (00:22 +0000)
committerRoland McGrath <roland@gnu.org>
Thu, 24 Oct 2002 00:22:27 +0000 (00:22 +0000)
commit240e87c2300c25b1cc8a78cccc2293874d89c67e
tree9ae48ca9bb0d09bea6c218950c86e000378d1b88
parent3efdabe7624ae0a574d3919cfe9ffcb5bca21692
* posix/regcomp.c (re_comp): Call __regfree on re_comp_buf.

(free_mem): New function.
* posix/Makefile (tests): Add bug-regex14.  Add bug-regex14-mem
if not cross compiling.
(generated): Add bug-regex14-mem and bug-regex14.mtrace.
(bug-regex14-ENV): Set.
(bug-regex14-mem): New target.
* posix/bug-regex14.c: New file.

* elf/Makefile ($(objpfx)librtld.map): Use temporary file for output
target, so we don't touch it when the link fails.
ChangeLog
elf/Makefile
posix/Makefile
posix/bug-regex14.c [new file with mode: 0644]
posix/regcomp.c