summaryrefslogtreecommitdiff
path: root/Python/pythonrun.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2001-12-07 04:25:10 +0000
committerGuido van Rossum <guido@python.org>2001-12-07 04:25:10 +0000
commitbbf892e364b05064a847db55b55f6da4189ee92a (patch)
tree07f7b5f489cc6e4ded2d77450e2a56bd1d12366e /Python/pythonrun.c
parentf284538bc6154336d690557e4cfc61c9ea2d9385 (diff)
downloadcpython-bbf892e364b05064a847db55b55f6da4189ee92a.tar.gz
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.
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions