• Barry Warsaw's avatar
    string_join(): Some cleaning up of reference counting. In the · 771d0675
    Barry Warsaw yazdı
    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.
    771d0675
stringobject.c 67.6 KB