- Notifications
You must be signed in to change notification settings - Fork4.9k
Commitea8c7e9
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 parentfb1d92a commitea8c7e9
1 file changed
+1
-0
lines changedLines changed: 1 addition & 0 deletions
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)