summaryrefslogtreecommitdiffstats
path: root/Modules/pypcre.c
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>1999-01-27 21:41:08 (GMT)
committerBarry Warsaw <barry@python.org>1999-01-27 21:41:08 (GMT)
commitb80667d5f3714cf6a136bd9ed42b0fef9618dcb5 (patch)
treeede8334d5dd5fd4e94352a17095a59a9e8bd173a /Modules/pypcre.c
parentffd511248e8830d20f0015ba9fc2bcf38c60311e (diff)
downloadcpython-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.c1
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;
}