summaryrefslogtreecommitdiff
path: root/Modules/_tkinter.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
commit700c6ff1fb066ef3198aac99772fe081db3bf6be (patch)
tree2663f13f4bd7f413dd5c7ddb4985a0fdcccc126d /Modules/_tkinter.c
parent38c28e379c42fc520daf38a94637886869b692c0 (diff)
downloadcpython-git-700c6ff1fb066ef3198aac99772fe081db3bf6be.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 'Modules/_tkinter.c')
0 files changed, 0 insertions, 0 deletions