This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author christian.heimes
Recipients christian.heimes
Date 2012-09-10.09:58:21
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1347271102.51.0.468950657705.issue15900@psf.upfronthosting.co.za>
In-reply-to
Content
Objects/unicodeobject.c:PyUnicode_TranslateCharmap() leaks a reference to the variable unicode. PyUnicode_Translate() is also implemented around the helper function _PyUnicode_TranslateCharmap() but it properly decrefs the reference to the first argument.

PyUnicode_Translate() also has an obsolete onError goto label. The patch fixes the leak and simplifies PyUnicode_Translate().

CID 719686
History
Date User Action Args
2012-09-10 09:58:22christian.heimessetrecipients: + christian.heimes
2012-09-10 09:58:22christian.heimessetmessageid: <1347271102.51.0.468950657705.issue15900@psf.upfronthosting.co.za>
2012-09-10 09:58:21christian.heimeslinkissue15900 messages
2012-09-10 09:58:21christian.heimescreate