]> granicus.if.org Git - python/commit
Fix subtle bug in cleanup code in PyErr_NormalizeException(), detected
authorGuido van Rossum <guido@python.org>
Tue, 9 Dec 1997 14:11:39 +0000 (14:11 +0000)
committerGuido van Rossum <guido@python.org>
Tue, 9 Dec 1997 14:11:39 +0000 (14:11 +0000)
commit19b55f2d17d2a189f9b48844c06d501f25ca6dc5
tree2163158d01c8d5f1a3f8d581b78b16491116c9da
parenta2e268aa40c08b7d4c5200e66f7e96adf09d0f0c
Fix subtle bug in cleanup code in PyErr_NormalizeException(), detected
by Marc Lemburg.  There's a path through the code where *val is NULL,
but value isn't, and value should be DECREF'ed.
Python/errors.c