From: Barry Warsaw Date: Wed, 27 Jan 1999 21:41:08 +0000 (+0000) Subject: pcre_exec(): Andrew Kuchling's patch for pcre memory leak. X-Git-Tag: v1.5.2b2~251 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b80667d5f3714cf6a136bd9ed42b0fef9618dcb5;p=python pcre_exec(): Andrew Kuchling's patch for pcre memory leak. --- diff --git a/Modules/pypcre.c b/Modules/pypcre.c index 9c6939fca1..976eb21fc3 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; }