diff options
author | Barry Warsaw <barry@python.org> | 2000-07-11 04:58:12 +0000 |
---|---|---|
committer | Barry Warsaw <barry@python.org> | 2000-07-11 04:58:12 +0000 |
commit | bdfa36fc6f7d671c2673365d7368c50fc2c25f56 (patch) | |
tree | 62c0905d44f343f49e32d8226366386f8b52fbf6 /Python/pythonrun.c | |
parent | 6e08441dccfa26926d07ff941a28b14ff26ee80d (diff) | |
download | cpython-bdfa36fc6f7d671c2673365d7368c50fc2c25f56.tar.gz |
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.
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions