summaryrefslogtreecommitdiff
path: root/Python/getargs.c
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2000-09-21 20:10:23 +0000
committerFred Drake <fdrake@acm.org>2000-09-21 20:10:23 +0000
commitca1f4260805bba12db6b420cec654a659d0bc4df (patch)
tree3b9a430fe842321de1610b2a97aa874f7022155e /Python/getargs.c
parent07cbc4e5bd7fdc2f5e92ac65dbabf35bde002bef (diff)
downloadcpython-git-ca1f4260805bba12db6b420cec654a659d0bc4df.tar.gz
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 'Python/getargs.c')
0 files changed, 0 insertions, 0 deletions