summaryrefslogtreecommitdiffstats
path: root/Doc/api/exceptions.tex
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2001-10-12 18:59:27 (GMT)
committerGuido van Rossum <guido@python.org>2001-10-12 18:59:27 (GMT)
commit716aac0448ef9fb6f3fd8c82237a7e73e9adb307 (patch)
treeecf1df387292593f4ca3b5bf83d9951044825077 /Doc/api/exceptions.tex
parent27b7f9f91e6e88a6607c05f6e47bba5016225a94 (diff)
downloadcpython-716aac0448ef9fb6f3fd8c82237a7e73e9adb307.zip
cpython-716aac0448ef9fb6f3fd8c82237a7e73e9adb307.tar.gz
cpython-716aac0448ef9fb6f3fd8c82237a7e73e9adb307.tar.bz2
PySocket_getaddrinfo(): fix two refcount bugs, both having to do with
a misunderstanding of the refcont behavior of the 'O' format code in PyArg_ParseTuple() and Py_BuildValue(), respectively. - pobj is only a borrowed reference, so should *not* be DECREF'ed at the end. This was the cause of SF bug #470635. - The Py_BuildValue() call would leak the object produced by makesockaddr(). (I found this by eyeballing the code.)
Diffstat (limited to 'Doc/api/exceptions.tex')
0 files changed, 0 insertions, 0 deletions