diff options
author | Barry Warsaw <barry@python.org> | 1999-01-27 21:41:08 (GMT) |
---|---|---|
committer | Barry Warsaw <barry@python.org> | 1999-01-27 21:41:08 (GMT) |
commit | b80667d5f3714cf6a136bd9ed42b0fef9618dcb5 (patch) | |
tree | ede8334d5dd5fd4e94352a17095a59a9e8bd173a /Modules/pypcre.c | |
parent | ffd511248e8830d20f0015ba9fc2bcf38c60311e (diff) | |
download | cpython-b80667d5f3714cf6a136bd9ed42b0fef9618dcb5.zip cpython-b80667d5f3714cf6a136bd9ed42b0fef9618dcb5.tar.gz cpython-b80667d5f3714cf6a136bd9ed42b0fef9618dcb5.tar.bz2 |
pcre_exec(): Andrew Kuchling's patch for pcre memory leak.
Diffstat (limited to 'Modules/pypcre.c')
-rw-r--r-- | Modules/pypcre.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/pypcre.c b/Modules/pypcre.c index 9c6939f..976eb21 100644 --- a/Modules/pypcre.c +++ b/Modules/pypcre.c @@ -4746,6 +4746,7 @@ if (using_temporary_offsets) printf(">>>> returning %d\n", match_block.errorcode); #endif + free_stack(&match_block); return match_block.errorcode; } |