Stefan Krah <stefan-usenet at bytereef.org> added the comment: Hirokazu, the patch looks good to me. Unfortunately Valgrind still reports the leak. ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue10157> _______________________________________