]> Savannah Git Hosting - gnulib.git/commit
regex: fix memory leak in compiler
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 11 Jul 2014 19:19:34 +0000 (12:19 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 11 Jul 2014 19:20:02 +0000 (12:20 -0700)
commitc4093fa1648a0d2385c58d75c3140def7dcdebdf
tree8f40850af4108a57e0258c2437068edd51b8b9a5
parent648f4ae7311d1ad00658fc314e1a6c896f47e618
regex: fix memory leak in compiler

Fix by Andreas Schwab in:
https://sourceware.org/ml/libc-alpha/2014-06/msg00503.html
* lib/regcomp.c (parse_reg_exp): Deallocate partially
constructed tree before returning error.
ChangeLog
lib/regcomp.c