summaryrefslogtreecommitdiffstats
path: root/Lib/mailcap.py
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2000-09-21 20:10:23 (GMT)
committerFred Drake <fdrake@acm.org>2000-09-21 20:10:23 (GMT)
commitca1f4260805bba12db6b420cec654a659d0bc4df (patch)
tree3b9a430fe842321de1610b2a97aa874f7022155e /Lib/mailcap.py
parent07cbc4e5bd7fdc2f5e92ac65dbabf35bde002bef (diff)
downloadcpython-ca1f4260805bba12db6b420cec654a659d0bc4df.zip
cpython-ca1f4260805bba12db6b420cec654a659d0bc4df.tar.gz
cpython-ca1f4260805bba12db6b420cec654a659d0bc4df.tar.bz2
Remove memory leaks of strings/Unicode objects passed into the character
data and default handlers -- a new reference was being passed to Py_BuildValue() for the "O" format character; using "N" plugs the leak. Fixed two other (minor) leaks that occurred on various error conditions. Removed uses of the UNLESS macro, which makes code hard to read, and is Evil.
Diffstat (limited to 'Lib/mailcap.py')
0 files changed, 0 insertions, 0 deletions