diff --git a/Modules/pypcre.c b/Modules/pypcre.c index 9c6939fca14..976eb21fc32 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; }