]> Savannah Git Hosting - gnulib.git/commit
regex: fix memory leak in compiler
authorPaul Eggert <eggert@penguin.cs.ucla.edu>
Thu, 19 Jun 2014 15:51:30 +0000 (08:51 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 19 Jun 2014 15:58:59 +0000 (08:58 -0700)
commit316c9c508c315504b55c935ffd409b60135f918e
tree6690e38e14162e47d7d0c6b7ee0b815425e20a12
parent657762608e6e00e2b2a428ca1ebdf309c990ec2e
regex: fix memory leak in compiler

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