[Python-bugs-list] [ python-Bugs-478006 ] memory leaks in Modules & threads

noreply@sourceforge.net noreply@sourceforge.net
Fri, 09 Nov 2001 08:02:26 -0800


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

Category: Extension Modules
Group: Python 2.2
>Status: Closed
>Resolution: Accepted
Priority: 5
Submitted By: Neal Norwitz (nnorwitz)
Assigned to: Fred L. Drake, Jr. (fdrake)
Summary: memory leaks in Modules & threads

Initial Comment:
the attached patch corrects memory leaks found
when running the regression tests.

Files:

Modules/_hotshot.c
Modules/sunaudiodev.c

Python/thread_pthread.h

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

>Comment By: Fred L. Drake, Jr. (fdrake)
Date: 2001-11-09 08:02

Message:
Logged In: YES 
user_id=3066

Committed, with a (minor) change to the _hotshot.c patch
(added the free() immediately before variable was re-used).

Modules/_hotshot.c  1.9
Modules/sunaudiodev.c  1.25
Python/thread_pthread.h  2.36

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

Comment By: Martin v. Löwis (loewis)
Date: 2001-11-07 14:19

Message:
Logged In: YES 
user_id=21627

I believe all three chunks (_hotshot.c, sunaudiodev.c,
thread_pthread.h) are correct.

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

Comment By: Tim Peters (tim_one)
Date: 2001-11-04 15:07

Message:
Logged In: YES 
user_id=31435

Neal, if you do more of these, could you please limit them 
to one module per patch?  Not all the suggested fixes have 
made sense, and the report gets to be a mess when only part 
of a patch can be applied.

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

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