]> granicus.if.org Git - python/commit
Marc-Andre Lemburg:
authorGuido van Rossum <guido@python.org>
Thu, 27 Apr 2000 20:13:18 +0000 (20:13 +0000)
committerGuido van Rossum <guido@python.org>
Thu, 27 Apr 2000 20:13:18 +0000 (20:13 +0000)
commit700c6ff1fb066ef3198aac99772fe081db3bf6be
tree2663f13f4bd7f413dd5c7ddb4985a0fdcccc126d
parent38c28e379c42fc520daf38a94637886869b692c0
Marc-Andre Lemburg:

Fixed a memory leak found by Fredrik Lundh.  Instead of
PyUnicode_AsUTF8String() we now use _PyUnicode_AsUTF8String() which
returns the string object without incremented refcount (and assures
that the so obtained object remains alive until the Unicode object is
garbage collected).
Python/getargs.c