commit | 4e173846c8688402c81d181a58b1fd787f88527a | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Fri Dec 07 04:25:10 2001 +0000 |
committer | Guido van Rossum <guido@python.org> | Fri Dec 07 04:25:10 2001 +0000 |
tree | 6a1002b424068033e7219088cc8ac42d12662b68 | |
parent | 202dd1ef420359c05814cbfcc5c27e71c90c16d9 [diff] |
Fix for #489672 (Neil Norwitz): memory leak in test_sre. (At least for the repeatable test case that Tim produced.) pattern_subx(): Add missing DECREF(filter) in both exit branches (normal and error return). Also fix a DECREF(args) that should certainly be a DECREF(match) -- because it's inside if (!args) and right after allocation of match.