]> granicus.if.org Git - python/commit
pattern_findall(): Plug small memory leak discovered by Insure.
authorBarry Warsaw <barry@python.org>
Fri, 18 Aug 2000 05:09:50 +0000 (05:09 +0000)
committerBarry Warsaw <barry@python.org>
Fri, 18 Aug 2000 05:09:50 +0000 (05:09 +0000)
commit152fbe88e9fd661c195b2374a0d229998e18e8dc
tree669105adea026009a215e5b7158a37af7d72a5c9
parentfc4514c22b0c4a84c3e2c66a12893d81492f5224
pattern_findall(): Plug small memory leak discovered by Insure.
PyList_Append() always incref's the inserted item.  Be sure to decref
it regardless of whether the append succeeds or fails.
Modules/_sre.c