diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2014-03-19 11:09:24 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2014-03-19 11:09:37 -0400 |
commit | 7f857a511f84410631dea6590d4036c43170afc8 (patch) | |
tree | 0e39bebc027a5a0f211a4a9af0a88b7ef8007b68 /src/backend/access/gist/gist.c | |
parent | 63817f86b57fc3d29b57787bca9d786218b7ee25 (diff) | |
download | postgresql-7f857a511f84410631dea6590d4036c43170afc8.tar.gz postgresql-7f857a511f84410631dea6590d4036c43170afc8.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