]> Savannah Git Hosting - gnulib.git/commit
regex: fix memory leaks
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 18 Jan 2016 18:31:07 +0000 (10:31 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 18 Jan 2016 18:38:35 +0000 (10:38 -0800)
commit9e849a708308b73064cd965de022d357e3abda80
tree4c5aa457e6457a4bba26c9deb857d4f720656a8f
parent85717b68b03bf85016c5079fbbf0c8aa2b182ba6
regex: fix memory leaks

Problem and draft fix reported by Aharon Robbins in:
http://lists.gnu.org/archive/html/bug-gnulib/2016-01/msg00082.html
* lib/regcomp.c (build_range_exp, build_charclass_op):
* lib/regex_internal.c (re_dfa_add_node):
Fix memory leak on failure.
ChangeLog
lib/regcomp.c
lib/regex_internal.c