This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
regcomp.c: Avoid a memory leak
authorKarl Williamson <khw@cpan.org>
Mon, 7 Mar 2016 22:37:11 +0000 (15:37 -0700)
committerKarl Williamson <khw@cpan.org>
Fri, 18 Mar 2016 03:47:16 +0000 (21:47 -0600)
commitcc93400aa5a8d556c56c28a8de644bd178d050d4
tree7afa5977203d9d9d792092caf9716439e17634ec
parentbc604ad8779b0724bcb3adec1938d7858873ee2f
regcomp.c: Avoid a memory leak

I spotted this in code reading.  The chances of it happening are quite
small.  It could happen under tainting with a user-defined \p{}
property, and /i matching.
regcomp.c