[Python-bugs-list] [ python-Bugs-485133 ] memory leak in test_parser

noreply@sourceforge.net noreply@sourceforge.net
Wed, 05 Dec 2001 14:12:15 -0800


Bugs item #485133, was opened at 2001-11-24 10:07
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=485133&group_id=5470

Category: Python Interpreter Core
Group: Python 2.2
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Neal Norwitz (nnorwitz)
Assigned to: Fred L. Drake, Jr. (fdrake)
Summary: memory leak in test_parser

Initial Comment:
parsermodule.c leaks in recursive calls to
build_node_children().

see attached file for info

----------------------------------------------------------------------

>Comment By: Fred L. Drake, Jr. (fdrake)
Date: 2001-12-05 14:12

Message:
Logged In: YES 
user_id=3066

Fix memory leak in the parser module:  There were two leaks
in parser_tuple2st() and a failure to propogate an error in
build_node_children() (masking yet another leak, of course!).

I confirmed the bug & fix using Insure++; I don't have Purify.

----------------------------------------------------------------------

Comment By: Guido van Rossum (gvanrossum)
Date: 2001-12-03 18:24

Message:
Logged In: YES 
user_id=6380

Fred owns this code.

----------------------------------------------------------------------

Comment By: Tim Peters (tim_one)
Date: 2001-11-27 12:06

Message:
Logged In: YES 
user_id=31435

Assigned to Barry.

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=485133&group_id=5470