summaryrefslogtreecommitdiffstats
path: root/Python/getcompiler.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2000-04-27 20:13:18 (GMT)
committerGuido van Rossum <guido@python.org>2000-04-27 20:13:18 (GMT)
commit700c6ff1fb066ef3198aac99772fe081db3bf6be (patch)
tree2663f13f4bd7f413dd5c7ddb4985a0fdcccc126d /Python/getcompiler.c
parent38c28e379c42fc520daf38a94637886869b692c0 (diff)
downloadcpython-700c6ff1fb066ef3198aac99772fe081db3bf6be.zip
cpython-700c6ff1fb066ef3198aac99772fe081db3bf6be.tar.gz
cpython-700c6ff1fb066ef3198aac99772fe081db3bf6be.tar.bz2
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).
Diffstat (limited to 'Python/getcompiler.c')
0 files changed, 0 insertions, 0 deletions