Files
cpython/Modules
Guido van Rossum 716aac0448 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.)
2001-10-12 18:59:27 +00:00
..
2000-06-30 16:09:01 +00:00
2000-07-01 00:16:13 +00:00
2001-08-30 00:12:32 +00:00
2001-10-05 12:24:15 +00:00
2001-10-09 10:54:31 +00:00