diff options
author | Guido van Rossum <guido@python.org> | 2000-04-27 20:13:18 +0000 |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2000-04-27 20:13:18 +0000 |
commit | 59c93c2bb49a57e06dd5aa6d997b363cde533d39 (patch) | |
tree | fd65fc048ff6231d3aff0672f2dd823bc0010cba /Python/pythonrun.c | |
parent | 185ca34db67619c292a25637e12433cb30466acb (diff) | |
download | cpython-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