[issue9497] test_ssl memory leak

2010-08-03 Thread Mark Dickinson
Mark Dickinson added the comment: The fix turned out to be as simple as adding a single X509_free call to _test_decode_cert. Fixed in revisions r83677 (py3k), r83679 (release31-maint), r83680 (release27-maint) and r83686 (release26-maint). [The last with Barry's approval.] -- assig

[issue9497] test_ssl memory leak

2010-08-03 Thread Mark Dickinson
Mark Dickinson added the comment: >From a bit of experimentation, ssl._ssl._test_decode_cert seems to be the call >that's leaking. I haven't studied the source to see if I can pinpoint the >cause yet. -- ___ Python tracker

[issue9497] test_ssl memory leak

2010-08-03 Thread Mark Dickinson
New submission from Mark Dickinson : On OS X 10.6, with a 64-bit build of Python, regrtest -L is showing leaks from test_ssl. Here are the first few lines of the output; I've also attached the full output. newton:py3k dickinsm$ ./python.exe -m test.regrtest -L test_ssl [1/1] test_ssl 1 test