]> granicus.if.org Git - python/commit
Fix refleak in internal_print() introduced by myself in r81251
authorVictor Stinner <victor.stinner@haypocalc.com>
Mon, 17 May 2010 09:33:42 +0000 (09:33 +0000)
committerVictor Stinner <victor.stinner@haypocalc.com>
Mon, 17 May 2010 09:33:42 +0000 (09:33 +0000)
commitba6b430bd0732ee6ab731b3578d139827d24de80
treee7b5e00b7cb2f60054131e4acadf6a8eeab3d431
parente9fb319e688d2d76ab4dbf8b3165ce9d1e24e8fc
Fix refleak in internal_print() introduced by myself in r81251

_PyUnicode_AsDefaultEncodedString() uses a magical PyUnicode attribute to
automatically destroy PyUnicode_EncodeUTF8() result when the unicode string is
destroyed.
Objects/object.c