]> granicus.if.org Git - python/commit
Remove memory leaks of strings/Unicode objects passed into the character
authorFred Drake <fdrake@acm.org>
Thu, 21 Sep 2000 20:10:23 +0000 (20:10 +0000)
committerFred Drake <fdrake@acm.org>
Thu, 21 Sep 2000 20:10:23 +0000 (20:10 +0000)
commitca1f4260805bba12db6b420cec654a659d0bc4df
tree3b9a430fe842321de1610b2a97aa874f7022155e
parent07cbc4e5bd7fdc2f5e92ac65dbabf35bde002bef
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.
Modules/pyexpat.c