[Patches] [ python-Patches-751113 ] fix memory leaks in _csv

SourceForge.net noreply@sourceforge.net
Sun, 08 Jun 2003 23:06:52 -0700


Patches item #751113, was opened at 2003-06-09 11:36
Message generated for change (Comment added) made by andrewmcnamara
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=751113&group_id=5470

Category: Modules
Group: Python 2.3
>Status: Closed
>Resolution: Accepted
Priority: 6
Submitted By: Neal Norwitz (nnorwitz)
Assigned to: Andrew McNamara (andrewmcnamara)
Summary: fix memory leaks in _csv

Initial Comment:
Skip, I sent a message to the CSV mailling list, but I
don't know if it got there.  This is the same patch (I
think).  It fixes some memory leaks.  If anyone else
familiar with CSV would like to review this patch, that
would be great too.


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

>Comment By: Andrew McNamara (andrewmcnamara)
Date: 2003-06-09 16:06

Message:
Logged In: YES 
user_id=698599

Applied. I don't think the first and third stanzas in the
patch are actual leaks, since the *size variable is
initialised at the same time as the pointer variable (if one
is zero, they both should be zero), but making your changes
is safer in the long run.

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

Comment By: Skip Montanaro (montanaro)
Date: 2003-06-09 12:49

Message:
Logged In: YES 
user_id=44345

Assigning to Andrew since he knows the _csv module much
better than I do.  Andrew, if you can't get to it soon, please
assign it back to me.


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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=751113&group_id=5470