[Python-bugs-list] [ python-Bugs-416288 ] infrequent memory leak in pyexpat
noreply@sourceforge.net
noreply@sourceforge.net
Sat, 21 Apr 2001 05:37:06 -0700
Bugs item #416288, was updated on 2001-04-15 10:35
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=416288&group_id=5470
Category: XML
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: douglas orr (dougbo)
>Assigned to: Martin v. Löwis (loewis)
Summary: infrequent memory leak in pyexpat
Initial Comment:
In pyexpat.c, the macro call for the handler dispatch
(my##NAME##Handler) for CharacterHandler allocates an
object implicitly by calling one of the conversion-to-
unicode routines.
If there is a problem in the PyBuildValue, resulting
in args == NULL, that object will be leaked.
Low priority, but the macros probably need some
reworking to handle this.
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=416288&group_id=5470