diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2006-03-28 06:05:21 (GMT) |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2006-03-28 06:05:21 (GMT) |
commit | 55dd2b41e0295526e5a91c37231de00af6fd29d8 (patch) | |
tree | a12160921d92b078730411631deecc4b513ba50d /Python/errors.c | |
parent | adbd28f7b80c31918fb241ca2e3bfb92563f8945 (diff) | |
download | cpython-55dd2b41e0295526e5a91c37231de00af6fd29d8.zip cpython-55dd2b41e0295526e5a91c37231de00af6fd29d8.tar.gz cpython-55dd2b41e0295526e5a91c37231de00af6fd29d8.tar.bz2 |
Fix the refleak from test_unicode.
Backport 42973 (lots of whitespace changes intermixed):
- Reindent a confusingly indented piece of code (no intended code changes
there)
- Add missing DECREFs of inner-scope 'temp' variable
- Add various missing DECREFs by changing 'return NULL' into 'goto onError'
- Avoid double DECREF when last _PyUnicode_Resize() fails
Coverity found one of the missing DECREFs, but oddly enough not the others.
Diffstat (limited to 'Python/errors.c')
0 files changed, 0 insertions, 0 deletions