summaryrefslogtreecommitdiff
path: root/Python/pythonrun.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2000-04-27 20:13:18 +0000
committerGuido van Rossum <guido@python.org>2000-04-27 20:13:18 +0000
commit59c93c2bb49a57e06dd5aa6d997b363cde533d39 (patch)
treefd65fc048ff6231d3aff0672f2dd823bc0010cba /Python/pythonrun.c
parent185ca34db67619c292a25637e12433cb30466acb (diff)
downloadcpython-59c93c2bb49a57e06dd5aa6d997b363cde533d39.tar.gz
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/pythonrun.c')
0 files changed, 0 insertions, 0 deletions