Message170170
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 |
|
Date |
User |
Action |
Args |
2012-09-10 09:58:22 | christian.heimes | set | recipients:
+ christian.heimes |
2012-09-10 09:58:22 | christian.heimes | set | messageid: <1347271102.51.0.468950657705.issue15900@psf.upfronthosting.co.za> |
2012-09-10 09:58:21 | christian.heimes | link | issue15900 messages |
2012-09-10 09:58:21 | christian.heimes | create | |
|