forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit7f857a5
committed
Fix memory leak during regular expression execution.
For a regex containing backrefs, pg_regexec() might fail to free all thesub-DFAs that were created during execution, resulting in a permanent(session lifespan) memory leak. Problem was introduced by me in commit5873594. Per report from Sandro Santilli;diagnosis by Greg Stark.1 parent63817f8 commit7f857a5
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
259 | 259 | | |
260 | 260 | | |
261 | 261 | | |
| 262 | + | |
262 | 263 | | |
263 | 264 | | |
264 | 265 | | |
| |||
0 commit comments
Comments
(0)