SIGN IN SIGN UP
python / cpython UNCLAIMED

The Python programming language

0 0 93 Python

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.
B
Barry Warsaw committed
771d0675b6fc08f2744c71cc66664d4ea4b22271
Parent: 20f41b6