commit | 771d0675b6fc08f2744c71cc66664d4ea4b22271 | [log] [tgz] |
---|---|---|
author | Barry Warsaw <barry@python.org> | Tue Jul 11 04:58:12 2000 +0000 |
committer | Barry Warsaw <barry@python.org> | Tue Jul 11 04:58:12 2000 +0000 |
tree | f1c1edcad8a33c8b4b078b35f6b8c6b090e58c01 | |
parent | 20f41b64563283467529dd1a001afafebf10d939 [diff] |
string_join(): Some cleaning up of reference counting. In the seqlen==1 clause, before returning item, we need to DECREF seq. In the res=PyString... failure clause, we need to goto finally to also decref seq (and the DECREF of res in finally is changed to a XDECREF). Also, we need to DECREF seq just before the PyUnicode_Join() return.