Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b80667d

Browse files
committed
pcre_exec(): Andrew Kuchling's patch for pcre memory leak.
1 parent ffd5112 commit b80667d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Modules/pypcre.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4746,6 +4746,7 @@ if (using_temporary_offsets)
47464746
printf(">>>> returning %d\n", match_block.errorcode);
47474747
#endif
47484748

4749+
free_stack(&match_block);
47494750
return match_block.errorcode;
47504751
}
47514752

0 commit comments

Comments
 (0)