Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane2014-03-19 15:09:24 +0000
committerTom Lane2014-03-19 15:09:24 +0000
commitea8c7e9054abf23fa3de2f8e4414f60ac8a8b620 (patch)
treed4a3535ef4405b656aac87e9726ca867fc52667a /src/backend/regex/regfree.c
parentfb1d92a9fa0226c435daf16d08e5d05d6986fc54 (diff)
Fix memory leak during regular expression execution.
For a regex containing backrefs, pg_regexec() might fail to free all the sub-DFAs that were created during execution, resulting in a permanent (session lifespan) memory leak. Problem was introduced by me in commit 587359479acbbdc95c8e37da40707e37097423f5. Per report from Sandro Santilli; diagnosis by Greg Stark.
Diffstat (limited to 'src/backend/regex/regfree.c')
0 files changed, 0 insertions, 0 deletions