commit | 700c6ff1fb066ef3198aac99772fe081db3bf6be | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Thu Apr 27 20:13:18 2000 +0000 |
committer | Guido van Rossum <guido@python.org> | Thu Apr 27 20:13:18 2000 +0000 |
tree | 2663f13f4bd7f413dd5c7ddb4985a0fdcccc126d | |
parent | 38c28e379c42fc520daf38a94637886869b692c0 [diff] |
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).