[Patches] [ python-Patches-718867 ] Fix reference leak for time.strptime

SourceForge.net noreply@sourceforge.net
Thu, 10 Apr 2003 01:41:26 -0700


Patches item #718867, was opened at 2003-04-10 01:41
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=718867&group_id=5470

Category: Library (Lib)
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Brett Cannon (bcannon)
Assigned to: Nobody/Anonymous (nobody)
Summary: Fix reference leak for time.strptime

Initial Comment:
There is a missing Py_DECREF in for the time.strptime code (there is a call to PyImport_ImportModule() but not Py_DECREF() on the returned module object before the function returns).

Ran the whole test suite with no incident.

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

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