]> granicus.if.org Git - python/commitdiff
pcre_exec(): Andrew Kuchling's patch for pcre memory leak.
authorBarry Warsaw <barry@python.org>
Wed, 27 Jan 1999 21:41:08 +0000 (21:41 +0000)
committerBarry Warsaw <barry@python.org>
Wed, 27 Jan 1999 21:41:08 +0000 (21:41 +0000)
Modules/pypcre.c

index 9c6939fca14d91b6f5b02bef0af1d84ce159ffea..976eb21fc328cb1a4c6b465609db449ebc8bf921 100644 (file)
@@ -4746,6 +4746,7 @@ if (using_temporary_offsets)
 printf(">>>> returning %d\n", match_block.errorcode);
 #endif
 
+ free_stack(&match_block); 
  return match_block.errorcode;
 }