]> granicus.if.org Git - python/commit
PyUnicode_AsUTF8String(): Don't need to explicitly incref str since
authorBarry Warsaw <barry@python.org>
Fri, 18 Aug 2000 06:58:15 +0000 (06:58 +0000)
committerBarry Warsaw <barry@python.org>
Fri, 18 Aug 2000 06:58:15 +0000 (06:58 +0000)
commit2dd4abf27769d6c1c04310d83374f30e229826ea
tree25233d8f560bc7ae922ab9a20e86fd7e5eb39305
parentf087960e9999179c96ffc127b302e81689ac7fc5
PyUnicode_AsUTF8String(): Don't need to explicitly incref str since
PyUnicode_EncodeUTF8() already returns the created object with the
proper reference count.  This fixes an Insure reported memory leak.
Objects/unicodeobject.c