• Fred Drake's avatar
    Remove memory leaks of strings/Unicode objects passed into the character · ca1f4260
    Fred Drake authored
    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.
    ca1f4260
pyexpat.c 28.7 KB