aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gist.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2014-03-19 11:09:24 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2014-03-19 11:09:59 -0400
commit473194c09cb294151231374d2628ce624da346ba (patch)
tree96061523c7ccb3a28d06c6d36a31f83b21149fec /src/backend/access/gist/gist.c
parentf07692e1906c5f78d4dc4f777ade31cbfdb0069e (diff)
downloadpostgresql-473194c09cb294151231374d2628ce624da346ba.tar.gz
postgresql-473194c09cb294151231374d2628ce624da346ba.zip
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/access/gist/gist.c')
0 files changed, 0 insertions, 0 deletions