]> granicus.if.org Git - python/commit
Issue #8926: getargs.c: release the buffer on error
authorVictor Stinner <victor.stinner@haypocalc.com>
Thu, 24 Jun 2010 23:06:25 +0000 (23:06 +0000)
committerVictor Stinner <victor.stinner@haypocalc.com>
Thu, 24 Jun 2010 23:06:25 +0000 (23:06 +0000)
commit174799912f1529c6cbd227f83fa5345b5f474f31
treee3c201b2cc79dbd9b1082e60066c9deab9d003f5
parent94fbaac58def9d3c289e5904e82a1598d4577f9a
Issue #8926: getargs.c: release the buffer on error

 - "t#" format: don't get the buffer if the object is not a pinned buffer
 - getbuffer(): release the buffer on error

(Commit based on r82206 from py3k)
Python/getargs.c