commit | ca1f4260805bba12db6b420cec654a659d0bc4df | [log] [tgz] |
---|---|---|
author | Fred Drake <fdrake@acm.org> | Thu Sep 21 20:10:23 2000 +0000 |
committer | Fred Drake <fdrake@acm.org> | Thu Sep 21 20:10:23 2000 +0000 |
tree | 3b9a430fe842321de1610b2a97aa874f7022155e | |
parent | 07cbc4e5bd7fdc2f5e92ac65dbabf35bde002bef [diff] |
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.